Skip to content

Commit

Permalink
docs: fix grammar in docblock
Browse files Browse the repository at this point in the history
Improve links associated with method
  • Loading branch information
geoffreyvanwyk committed Aug 8, 2024
1 parent 1bfc5f2 commit 9a0ed55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Contracts/SelfValidatingModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ interface SelfValidatingModel
/**
* Rules for validating the model's attributes.
*
* An example of an array that must be return by this method:
* An example of an array that must be returned by this method:
*
* [
* 'rules' => [
Expand All @@ -43,7 +43,8 @@ interface SelfValidatingModel
* ],
* ]
*
* @see {@link https://laravel.com/docs/11.x/validation#available-validation-rules}
* @see {@link https://laravel.com/docs/11.x/validation#manually-creating-validators}
* @see {@link https://laravel.com/docs/11.x/validation#manual-customizing-the-error-messages}
* @return array<string,array<string,mixed>>
*/
public static function validationRules(): array;
Expand Down

0 comments on commit 9a0ed55

Please sign in to comment.