Skip to content

Commit a1846f0

Browse files
Merge branch '3.3' into 3.4
* 3.3: remove useless comment fix merge
2 parents ab661bd + 0bd1f09 commit a1846f0

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function __construct(HttpKernelInterface $kernel, $cacheDir = null)
5454
protected function forward(Request $request, $raw = false, Response $entry = null)
5555
{
5656
$this->getKernel()->boot();
57-
$this->getKernel()->getContainer()->set('cache', $this); // to be removed in 4.0?
57+
$this->getKernel()->getContainer()->set('cache', $this);
5858

5959
return parent::forward($request, $raw, $entry);
6060
}

src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,10 +1618,6 @@ private function getServiceCall($id, Reference $reference = null)
16181618
} elseif (null !== $reference && ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $reference->getInvalidBehavior()) {
16191619
$code = sprintf('$this->get(\'%s\', ContainerInterface::NULL_ON_INVALID_REFERENCE)', $id);
16201620
} else {
1621-
if ($this->container->hasAlias($id)) {
1622-
$id = (string) $this->container->getAlias($id);
1623-
}
1624-
16251621
$code = sprintf('$this->get(\'%s\')', $id);
16261622
}
16271623

0 commit comments

Comments
 (0)