Skip to content

Commit cf66210

Browse files
authored
Merge pull request #24 from androzd/master
get validator must return validator, not factory
2 parents 0020f35 + 5eeb268 commit cf66210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ private function setupFormName() {
464464

465465
public function getValidator()
466466
{
467-
return validator();
467+
return validator()->make([], []);
468468
}
469469

470470
}

0 commit comments

Comments
 (0)