@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** @param ClassMethod[] $classMethods */ |
38 | 38 | public function build(array $classMethods): array |
39 | 39 | { |
40 | - return array_map(function (ClassMethod $method) { |
|
40 | + return array_map(function(ClassMethod $method) { |
|
41 | 41 | return $this->buildMethod($method); |
42 | 42 | }, $this->runFilters($classMethods)); |
43 | 43 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | private function buildParameters(array $parameters, ?string $docBlock): array |
58 | 58 | { |
59 | - return array_map(function (Param $parameter) use ($docBlock) { |
|
59 | + return array_map(function(Param $parameter) use ($docBlock) { |
|
60 | 60 | return [ |
61 | 61 | "\${$parameter->name}", |
62 | 62 | $parameter->type, |