Injector updateSpec() instanciation (fixes #2829)

This commit is contained in:
Ingo Schommer 2014-02-07 16:59:51 +13:00
parent db07a8e1df
commit 71f6f8afc9

View File

@ -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);
}
}
}