Skip to content

Commit 584e1ad

Browse files
committed
add patch
1 parent cc6a53c commit 584e1ad

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--- /dev/null
2+
+++ ../Container.php
3+
@@ -805,7 +805,7 @@
4+
// If the requested type is registered as a singleton we'll want to cache off
5+
// the instances in "memory" so we can return it later without creating an
6+
// entirely new instance of an object on each subsequent request for it.
7+
- if ($this->isShared($abstract) && ! $needsContextualBuild) {
8+
+ if (! $needsContextualBuild) {
9+
$this->instances[$abstract] = $object;
10+
}
11+

0 commit comments

Comments
 (0)