Completed
Branch master (c0bbe0)
by Alexander
11:55
created
Category
src/Module.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
         /** @var AspectContainer $aspectContainer */
37 37
         $aspectContainer = $serviceManager->get(AspectContainer::class);
38 38
         $config          = $serviceManager->get('config');
39
-        $listOfAspects   = $config['goaop_aspect'];
39
+        $listOfAspects   = $config[ 'goaop_aspect' ];
40 40
         foreach ($listOfAspects as $aspectService) {
41 41
             $aspect = $serviceManager->get($aspectService);
42 42
             $aspectContainer->registerAspect($aspect);
Please login to merge, or discard this patch.
src/Factory/AspectKernelFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function createService(ServiceLocatorInterface $serviceLocator)
28 28
     {
29 29
         $aspectKernel = AspectZf2Kernel::getInstance();
30
-        $aspectKernel->init($serviceLocator->get('config')['goaop_module']);
30
+        $aspectKernel->init($serviceLocator->get('config')[ 'goaop_module' ]);
31 31
 
32 32
         return $aspectKernel;
33 33
     }
Please login to merge, or discard this patch.
config/module.config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      |
84 84
      | AOP will check this list to disable AOP for selected directories
85 85
      */
86
-    'excludePaths' => [],
86
+    'excludePaths' => [ ],
87 87
 
88 88
     /**
89 89
      |--------------------------------------------------------------------------
@@ -103,5 +103,5 @@  discard block
 block discarded – undo
103 103
             AspectContainer::class => AspectContainerFactory::class,
104 104
         ]
105 105
     ],
106
-    'goaop_aspect' => []
106
+    'goaop_aspect' => [ ]
107 107
 ];
Please login to merge, or discard this patch.