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 3299305 commit 2ce1dcdCopy full SHA for 2ce1dcd
src/ServiceMap.php
@@ -74,7 +74,7 @@ public function getServiceClassFromNode(Node $node): ?string
74
public function getComponentClassById(string $id): ?string
75
{
76
// Special case in which the component is already initialized
77
- if (is_object($this->components[$id])) {
+ if (isset($this->components[$id]) && is_object($this->components[$id])) {
78
return get_class($this->components[$id]);
79
}
80
0 commit comments