Skip to content

Commit b66c4f5

Browse files
kalessilfabpot
authored andcommitted
[2.3] Static Code Analysis for Components
1 parent e90f4bc commit b66c4f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/GraphvizDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ private function findNodes()
173173
foreach ($container->getServiceIds() as $id) {
174174
$service = $container->get($id);
175175

176-
if (in_array($id, array_keys($container->getAliases()))) {
176+
if (array_key_exists($id, $container->getAliases())) {
177177
continue;
178178
}
179179

0 commit comments

Comments
 (0)