@@ -13,7 +13,7 @@ |
||
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 | }, |
@@ -71,7 +71,7 @@ |
||
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 | } |