bug #33942 [DI] Add extra type check to php dumper
This commit is contained in:
parent
9c635615de
commit
b17ebdf081
@ -1889,7 +1889,7 @@ EOF;
|
||||
if (!$value = $edge->getSourceNode()->getValue()) {
|
||||
continue;
|
||||
}
|
||||
if ($edge->isLazy() || !$value->isShared()) {
|
||||
if ($edge->isLazy() || !$value instanceof Definition || !$value->isShared()) {
|
||||
return false;
|
||||
}
|
||||
$ids[$edge->getSourceNode()->getId()] = true;
|
||||
|
Reference in New Issue
Block a user