Completed
Pull Request — master (#3)
by Thomas
15:02
created
src/Parser/Code/Builders/Members/MethodsBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function build(array $methods): array
35 35
     {
36
-        return array_map(function (ClassMethod $method) {
36
+        return array_map(function(ClassMethod $method) {
37 37
             return $this->buildMethod($method);
38 38
         }, $this->runFilters($methods));
39 39
     }
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
      */
62 62
     private function buildParameters(array $parameters, ?string $docBlock): array
63 63
     {
64
-        return array_map(function (Param $parameter) use ($docBlock) {
64
+        return array_map(function(Param $parameter) use ($docBlock) {
65 65
             $name = "\${$parameter->name}";
66 66
             $type = $parameter->type;
67 67
             if ($type !== null) {
68
-                if($type instanceof \PhpParser\Node\NullableType) {
68
+                if ($type instanceof \PhpParser\Node\NullableType) {
69 69
                     $type = $type->type;
70 70
                 }
71 71
                 $typeDeclaration = TypeDeclaration::from($type);
Please login to merge, or discard this patch.