Completed
Push — master ( cb169f...e72b8e )
by Greg
02:15
created
src/Hooks/HookManager.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,10 +293,11 @@
 block discarded – undo
293 293
     {
294 294
         $result = [];
295 295
         $names = $this->addWildcardHooksToNames($command->getNames(), $command->getAnnotationData());
296
-        foreach ($names as $name)
297
-        if (isset($this->hookOptions[$name])) {
296
+        foreach ($names as $name) {
297
+                if (isset($this->hookOptions[$name])) {
298 298
             $result = array_merge($result, $this->hookOptions[$name]);
299 299
         }
300
+        }
300 301
         return $result;
301 302
     }
302 303
 
Please login to merge, or discard this patch.