8000 Prepend Child Bundle paths before the parent by trsteel88 · Pull Request #9112 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Prepend Child Bundle paths before the parent #9112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 8 commits into from
Prev Previous commit
remove unused var
  • Loading branch information
trsteel88 committed Sep 24, 2013
commit 98fc66046df070df9390efc18b4c0f58638d3d4d
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private function getBundlesByChildPriority(ContainerBuilder $container)
$reflection = new \ReflectionClass($class);

$bundleInstance = $reflection->newInstance();
if (null === $parentBundle = $bundleInstance->getParent()) {
if (null === $bundleInstance->getParent()) {
$parentBundles[$bundle] = $reflection;
} else {
$childBundles[$bundle] = $reflection;
Expand Down
0