Marnu Lombard před 5 roky
rodič
revize
634da1cc4e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/Tools/Generator.php

+ 1 - 1
src/Tools/Generator.php

@@ -150,7 +150,7 @@ class Generator
 
                 $type = $this->normalizeParameterType($type);
                 list($description, $example) = $this->parseDescription($description, $type);
-                $value = is_null($example)  && ! $this->shouldExcludeExample($tag) ? $this->generateDummyValue($type) : $example;
+                $value = is_null($example) && ! $this->shouldExcludeExample($tag) ? $this->generateDummyValue($type) : $example;
 
                 return [$name => compact('type', 'description', 'required', 'value')];
             })->toArray();