shalvah %!s(int64=6) %!d(string=hai) anos
pai
achega
a091175868
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Generators/AbstractGenerator.php

+ 1 - 1
src/Generators/AbstractGenerator.php

@@ -114,7 +114,7 @@ abstract class AbstractGenerator
                 $required = trim($required) == 'required' ? true : false;
                 $type = $this->normalizeParameterType($type);
                 return [$name => compact('type', 'description', 'required')];
-            });
+            })->toArray();
         return $parameters;
     }