@@ -42,12 +42,12 @@ discard block |
||
42 | 42 | * @throws \Zend\ServiceManager\Exception\ServiceNotFoundException |
43 | 43 | * @throws \Zend\ServiceManager\Exception\InvalidServiceNameException |
44 | 44 | */ |
45 | - public function overrideAppConfig(array $newConfig = []) |
|
45 | + public function overrideAppConfig(array $newConfig = [ ]) |
|
46 | 46 | { |
47 | 47 | $applicationConfig = $this->getApplicationConfig(); |
48 | 48 | |
49 | 49 | if (is_array($applicationConfig)) { |
50 | - $listenerName = 'bootstrapAppHandler_' . Uuid::uuid4()->toString(); |
|
50 | + $listenerName = 'bootstrapAppHandler_'.Uuid::uuid4()->toString(); |
|
51 | 51 | |
52 | 52 | $appConfig = ArrayUtils::merge($applicationConfig, [ |
53 | 53 | 'listeners' => [ |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | $listenerName => new CallbacksListenerAggregate([ |
59 | 59 | MvcEvent::EVENT_BOOTSTRAP => [ |
60 | 60 | [ |
61 | - 'handler' => function (MvcEvent $e) use ($newConfig) { |
|
61 | + 'handler' => function(MvcEvent $e) use ($newConfig) { |
|
62 | 62 | /** @var ServiceManager $sm */ |
63 | 63 | $sm = $e->getApplication()->getServiceManager(); |
64 | 64 | $baseAppConfig = $sm->get('Config'); |