@@ -12,7 +12,7 @@ discard block |
||
12 | 12 | protected function getClassAnnotations(\ReflectionClass $class): array |
13 | 13 | { |
14 | 14 | return array_map( |
15 | - static function (\ReflectionAttribute $attribute): object { |
|
15 | + static function(\ReflectionAttribute $attribute): object { |
|
16 | 16 | return $attribute->newInstance(); |
17 | 17 | }, |
18 | 18 | $class->getAttributes() |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | protected function getMethodAnnotations(\ReflectionMethod $method): array |
26 | 26 | { |
27 | 27 | return array_map( |
28 | - static function (\ReflectionAttribute $attribute): object { |
|
28 | + static function(\ReflectionAttribute $attribute): object { |
|
29 | 29 | return $attribute->newInstance(); |
30 | 30 | }, |
31 | 31 | $method->getAttributes() |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | protected function getPropertyAnnotations(\ReflectionProperty $property): array |
39 | 39 | { |
40 | 40 | return array_map( |
41 | - static function (\ReflectionAttribute $attribute): object { |
|
41 | + static function(\ReflectionAttribute $attribute): object { |
|
42 | 42 | return $attribute->newInstance(); |
43 | 43 | }, |
44 | 44 | $property->getAttributes() |