Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add exception as parameter to the missing() callbacks (#38289)
* Add ModelNotFoundException as input to missing closure Add `ModelNotFoundException` exception to the missing callback and only return the result of the callback if this is not present. * Rename variable to $callbackResponse * StyleCI fix * Update SubstituteBindings.php Co-authored-by: Taylor Otwell <taylor@laravel.com>
- Loading branch information