We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17602aa commit 6d30035Copy full SHA for 6d30035
src/Index/Index.php
@@ -313,6 +313,10 @@ private function removeNamespaceDefinition(string $fqn)
313
$namespace = $this->extractNamespace($fqn);
314
if (isset($this->namespaceDefinitions[$namespace])) {
315
unset($this->namespaceDefinitions[$namespace][$fqn]);
316
+
317
+ if (0 === sizeof($this->namespaceDefinitions[$namespace])) {
318
+ unset($this->namespaceDefinitions[$namespace]);
319
+ }
320
}
321
322
0 commit comments