Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Model::delete throw LogicException not Exception (#36914)
* Throw LogicException instead of Exception on delete model with missing primary key * Update Model.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information
1 parent
c351a30
commit 5e0ef03
Showing
1 changed file
with
3 additions
and
3 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