We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 463320d + a0af616 commit 0c57f23Copy full SHA for 0c57f23
src/Generator.php
@@ -188,7 +188,7 @@ protected function getFormRules()
188
$parameters = $this->getActionClassInstance($this->route->action())->getParameters();
189
190
foreach ($parameters as $parameter) {
191
- $class = (string) $parameter->getClass();
+ $class = (string) $parameter->getName();
192
193
if (is_subclass_of($class, FormRequest::class)) {
194
return (new $class)->rules();
0 commit comments