From 71f6f8afc960fe3a30347f538c2a131e7dc078f6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 7 Feb 2014 16:59:51 +1300 Subject: [PATCH] Injector updateSpec() instanciation (fixes #2829) --- control/injector/Injector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/injector/Injector.php b/control/injector/Injector.php index 4dca8204f..af0552a4a 100644 --- a/control/injector/Injector.php +++ b/control/injector/Injector.php @@ -418,7 +418,7 @@ class Injector { // and reload the object; existing bindings don't get // updated though! (for now...) if (isset($this->serviceCache[$id])) { - $this->instantiate($spec, $id); + $this->instantiate(array('class'=>$id), $id); } } }