@@ -52,7 +52,7 @@ discard block |
||
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 |
||
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 |
||
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) |