Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed overriding bundle models

  • Loading branch information...
commit 36e2ff4cc43989abbb3bd2f84cd7909c0f39d5b9 1 parent 2ae0124
@pablodip pablodip authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Command/GenerateCommand.php
View
4 Command/GenerateCommand.php
@@ -98,7 +98,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
$configClass['bundle_dir'] = $bundle->getPath();
if (isset($configClasses[$class])) {
- $configClasses[$class] = Util::arrayDeepMerge($configClasses[$class], $configClass);
+ $previousConfigClass = $configClasses[$class];
+ unset($configClasses[$class]);
+ $configClasses[$class] = Util::arrayDeepMerge($previousConfigClass, $configClass);
} else {
$configClasses[$class] = $configClass;
}
Please sign in to comment.
Something went wrong with that request. Please try again.