Passed
Push — main ( dae7cc...12f243 )
by Breno
01:47
created
src/Handler/ClassMethod/Mapper/ArrayMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function __construct(array $map)
15 15
     {
16
-        $mapped = array_map(function ($item) {
16
+        $mapped = array_map(function($item) {
17 17
                 list($message, $class, $method) = $item;
18 18
                 return new ClassMethod($message, $class, $method);
19 19
         },
Please login to merge, or discard this patch.
src/Handler/Attributes/AttributesMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     {
72 72
         $attribute = $method->getAttributes($this->attribute, ReflectionAttribute::IS_INSTANCEOF)[0] ?? null;
73 73
         if ($attribute instanceof ReflectionAttribute) {
74
-            $attr =  $attribute->newInstance();
74
+            $attr = $attribute->newInstance();
75 75
             assert($attr instanceof Handler);
76 76
             return $attr;
77 77
         }
Please login to merge, or discard this patch.