Completed
Push — master ( a3d9d2...efd2f7 )
by Jakub
04:22
created
src/PhpDocumentor/ReflectionExtractor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
     private function propertyFactory(\ReflectionClass $class, $docBlockFactory, $classContext): callable
54 54
     {
55
-        return function (\ReflectionProperty $propertyReflection) use ($docBlockFactory, $classContext, $class): ?Property {
55
+        return function(\ReflectionProperty $propertyReflection) use ($docBlockFactory, $classContext, $class): ?Property {
56 56
             $context = $this->getTraitContextIfExists($propertyReflection) ?? $classContext;
57 57
 
58 58
             if ($propertyReflection->getDeclaringClass()->getName() === $class->getName()) {
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     private function buildFilter(callable $filter): callable
67 67
     {
68
-        return function ($property) use ($filter): bool {
68
+        return function($property) use ($filter): bool {
69 69
             return $property instanceof Property && $filter($property);
70 70
         };
71 71
     }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             return null !== $var ? new Property(
90 90
                 $propertyReflection->getName(),
91 91
                 \array_map(
92
-                    function ($type) {
92
+                    function($type) {
93 93
                         return \ltrim($type, '\\');
94 94
                     },
95 95
                     \explode('|', $var)
Please login to merge, or discard this patch.