Skip to content

Commit 201451f

Browse files
committed
[DI] Remove dead service_container checks
1 parent ddafb76 commit 201451f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dumper/GraphvizDumper.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ private function findNodes()
192192
}
193193

194194
if (!$container->hasDefinition($id)) {
195-
$class = get_class('service_container' === $id ? $this->container : $container->get($id));
196-
$nodes[$id] = array('class' => str_replace('\\', '\\\\', $class), 'attributes' => $this->options['node.instance']);
195+
$nodes[$id] = array('class' => str_replace('\\', '\\\\', get_class($container->get($id))), 'attributes' => $this->options['node.instance']);
197196
}
198197
}
199198

0 commit comments

Comments
 (0)