-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add method to check if a model has never had a specific status
- Added `hasNeverHadStatus($name): bool` method to determine if the model has never had a status with the given name. - Included PHPDoc comments for both `hasEverHadStatus($name): bool` and `hasNeverHadStatus($name): bool` methods. - Added tests for `hasNeverHadStatus` method: - Test to return `false` if the specific status is found. - Test to return `true` if the specific status is not found. This contribution introduces the inverse of the `hasEverHadStatus` function and improves documentation.
- Loading branch information
1 parent
b3956cb
commit 3fcf6b9
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters