[DI] CS fix
This commit is contained in:
parent
e93f8c0ad3
commit
46309e5814
@ -404,9 +404,7 @@ class Container implements ResettableContainerInterface
|
|||||||
$this->set($id, new ServiceLocator([]));
|
$this->set($id, new ServiceLocator([]));
|
||||||
}
|
}
|
||||||
if (!$this->getEnv) {
|
if (!$this->getEnv) {
|
||||||
$this->getEnv = new \ReflectionMethod($this, __FUNCTION__);
|
$this->getEnv = \Closure::fromCallable([$this, 'getEnv']);
|
||||||
$this->getEnv->setAccessible(true);
|
|
||||||
$this->getEnv = $this->getEnv->getClosure($this);
|
|
||||||
}
|
}
|
||||||
$processors = $this->get($id);
|
$processors = $this->get($id);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user