Skip to content

Commit

Permalink
Merge pull request #120 from alhelwany/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
freekmurze authored Apr 24, 2024
2 parents 27b69f8 + 2f33d6c commit 4f2ed7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ $allNonInitiatedOrPendingModels = Model::otherCurrentStatus('initiated', 'pendin

### Validating a status before setting it

You can add custom validation when setting a status by overwriting the `isValidStatus` method:
You can add custom validation when setting a status by overriding the `isValidStatus` method:

```php
public function isValidStatus(string $name, ?string $reason = null): bool
Expand Down

0 comments on commit 4f2ed7e

Please sign in to comment.