Passed
Pull Request — master (#1469)
by Asmir
10:45 queued 08:33
created
src/Metadata/Driver/AttributeDriver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.