Skip to content

Commit c275cdc

Browse files
Remove commented code (#40769)
1 parent 980a94a commit c275cdc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Illuminate/Container/Container.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -886,10 +886,6 @@ public function build($concrete)
886886
return $this->notInstantiable($concrete);
887887
}
888888

889-
// if (in_array($concrete, $this->buildStack)) {
890-
// throw new CircularDependencyException("Circular dependency detected while resolving [{$concrete}].");
891-
// }
892-
893889
$this->buildStack[] = $concrete;
894890

895891
$constructor = $reflector->getConstructor();

0 commit comments

Comments
 (0)