Skip to content

Commit b77da21

Browse files
authored
Merge pull request #405 from Nyholm/bugfix
Typos and bugfix
2 parents aaaaf52 + 956f363 commit b77da21

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

lib/Github/Client.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,15 +312,16 @@ protected function addPlugin(Plugin $plugin)
312312
}
313313

314314
/**
315-
* Remove a plugin by its fqn.
315+
* Remove a plugin by its fully qualified class name (FQCN).
316316
*
317-
* @param string $fqn
317+
* @param string $fqcn
318318
*/
319-
protected function removePlugin($fqn)
319+
protected function removePlugin($fqcn)
320320
{
321321
foreach ($this->plugins as $idx => $plugin) {
322-
if ($plugin instanceof $fqn) {
322+
if ($plugin instanceof $fqcn) {
323323
unset($this->plugins[$idx]);
324+
$this->httpClientModified = true;
324325
}
325326
}
326327
}

0 commit comments

Comments
 (0)