shalvah hace 6 años
padre
commit
a091175868
Se han modificado 1 ficheros con 1 adiciones y 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;
     }