Completed
Pull Request — master (#42)
by Greg
02:53
created
src/Hooks/HookManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -391,7 +391,7 @@  discard block
 block discarded – undo
391 391
     {
392 392
         $names = array_merge(
393 393
             (array)$names,
394
-            ($annotationData == null) ? [] : array_map(function ($item) {
394
+            ($annotationData == null) ? [] : array_map(function($item) {
395 395
                 return "@$item";
396 396
             }, $annotationData->keys())
397 397
         );
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
         $hooks = [];
413 413
         foreach ($stages as $stage) {
414 414
             foreach ((array)$names as $name) {
415
-                $hooks = array_merge($hooks, $this->getHook($name, $stage . $hook));
415
+                $hooks = array_merge($hooks, $this->getHook($name, $stage.$hook));
416 416
             }
417 417
         }
418 418
         return $hooks;
Please login to merge, or discard this patch.