Skip to content

Commit

Permalink
fix: validationRules method is not public
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreyvanwyk committed Aug 7, 2024
1 parent a60aa22 commit ea8c7c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Fixtures/Models/Car.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Car extends Model
* @see {@link https://laravel.com/docs/11.x/validation#available-validation-rules}
* @return array<string,array<string,mixed>>
*/
protected static function validationRules(): array
public static function validationRules(): array
{
return [
'rules' => [
Expand Down

0 comments on commit ea8c7c1

Please sign in to comment.