diff --git a/lib/Github/Client.php b/lib/Github/Client.php index 9279ce5c4fd..1c788492c48 100644 --- a/lib/Github/Client.php +++ b/lib/Github/Client.php @@ -312,15 +312,16 @@ protected function addPlugin(Plugin $plugin) } /** - * Remove a plugin by its fqn. + * Remove a plugin by its fully qualified class name (FQCN). * - * @param string $fqn + * @param string $fqcn */ - protected function removePlugin($fqn) + protected function removePlugin($fqcn) { foreach ($this->plugins as $idx => $plugin) { - if ($plugin instanceof $fqn) { + if ($plugin instanceof $fqcn) { unset($this->plugins[$idx]); + $this->httpClientModified = true; } } }