Merge branch '3.3' into 3.4
* 3.3: remove useless comment fix merge
This commit is contained in:
commit
a1846f0637
@ -54,7 +54,7 @@ abstract class HttpCache extends BaseHttpCache
|
||||
protected function forward(Request $request, $raw = false, Response $entry = null)
|
||||
{
|
||||
$this->getKernel()->boot();
|
||||
$this->getKernel()->getContainer()->set('cache', $this); // to be removed in 4.0?
|
||||
$this->getKernel()->getContainer()->set('cache', $this);
|
||||
|
||||
return parent::forward($request, $raw, $entry);
|
||||
}
|
||||
|
@ -1618,10 +1618,6 @@ EOF;
|
||||
} elseif (null !== $reference && ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $reference->getInvalidBehavior()) {
|
||||
$code = sprintf('$this->get(\'%s\', ContainerInterface::NULL_ON_INVALID_REFERENCE)', $id);
|
||||
} else {
|
||||
if ($this->container->hasAlias($id)) {
|
||||
$id = (string) $this->container->getAlias($id);
|
||||
}
|
||||
|
||||
$code = sprintf('$this->get(\'%s\')', $id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user