diff --git a/src/Mpociot/ApiDoc/Generators/AbstractGenerator.php b/src/Mpociot/ApiDoc/Generators/AbstractGenerator.php index cc8bc8b6..ca13134b 100644 --- a/src/Mpociot/ApiDoc/Generators/AbstractGenerator.php +++ b/src/Mpociot/ApiDoc/Generators/AbstractGenerator.php @@ -144,7 +144,7 @@ protected function getRouteRules($route, $bindings) if (! is_null($parameterType) && class_exists($parameterType->name)) { $className = $parameterType->name; - if (is_subclass_of($className,FormRequest::class)) { + if (is_subclass_of($className, FormRequest::class)) { $parameterReflection = new $className; // Add route parameter bindings $parameterReflection->query->add($bindings);