Skip to content

Commit 556a6b3

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: fix PHP 5.6 compatibility [Cache] fixed TagAwareAdapter returning invalid cache Add plus character `+` to legal mime subtype Make Symfony\Contracts\Service\Test\ServiceLocatorTest abstract bug #33942 [DI] Add extra type check to php dumper [Dotenv] search variable values in ENV first then env file [PropertyInfo] Respect property name case when guessing from public method name [VarDumper] fix resetting the "bold" state in CliDumper Missing argument in method_exists SCA: added missing break in a loop
2 parents 820e4e2 + 12b4a94 commit 556a6b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@ private function isSingleUsePrivateNode(ServiceReferenceGraphNode $node): bool
19531953
if (!$value = $edge->getSourceNode()->getValue()) {
19541954
continue;
19551955
}
1956-
if ($edge->isLazy() || !$value->isShared()) {
1956+
if ($edge->isLazy() || !$value instanceof Definition || !$value->isShared()) {
19571957
return false;
19581958
}
19591959
$ids[$edge->getSourceNode()->getId()] = true;

0 commit comments

Comments
 (0)