[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([]));
|
||||
}
|
||||
if (!$this->getEnv) {
|
||||
$this->getEnv = new \ReflectionMethod($this, __FUNCTION__);
|
||||
$this->getEnv->setAccessible(true);
|
||||
$this->getEnv = $this->getEnv->getClosure($this);
|
||||
$this->getEnv = \Closure::fromCallable([$this, 'getEnv']);
|
||||
}
|
||||
$processors = $this->get($id);
|
||||
|
||||
|
Reference in New Issue
Block a user