Skip to content

Commit ddcd7b4

Browse files
Allow access to the plugin methods
1 parent b77da21 commit ddcd7b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Github/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public function setEnterpriseUrl($enterpriseUrl)
305305
*
306306
* @param Plugin $plugin
307307
*/
308-
protected function addPlugin(Plugin $plugin)
308+
public function addPlugin(Plugin $plugin)
309309
{
310310
$this->plugins[] = $plugin;
311311
$this->httpClientModified = true;
@@ -316,7 +316,7 @@ protected function addPlugin(Plugin $plugin)
316316
*
317317
* @param string $fqcn
318318
*/
319-
protected function removePlugin($fqcn)
319+
public function removePlugin($fqcn)
320320
{
321321
foreach ($this->plugins as $idx => $plugin) {
322322
if ($plugin instanceof $fqcn) {

0 commit comments

Comments
 (0)