[HttpKernel] Fix variable conflicting name

This commit is contained in:
Titouan Galopin 2016-08-02 17:33:57 +02:00
parent 92b3ef4cb2
commit 9ac9f555a6
1 changed files with 2 additions and 2 deletions

View File

@ -473,8 +473,8 @@ abstract class Kernel implements KernelInterface, TerminableInterface
$hierarchy[] = $name;
}
foreach ($hierarchy as $bundle) {
$this->bundleMap[$bundle] = $bundleMap;
foreach ($hierarchy as $hierarchyBundle) {
$this->bundleMap[$hierarchyBundle] = $bundleMap;
array_pop($bundleMap);
}
}