From c37c8e98f5b4c5b3b37092d961cea72fbfde7e02 Mon Sep 17 00:00:00 2001 From: Jesse Koerhuis Date: Tue, 15 Jul 2025 08:39:30 +0200 Subject: [PATCH] Use clearer route binding exceptions --- src/Illuminate/Http/Resources/DelegatesToResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Http/Resources/DelegatesToResource.php b/src/Illuminate/Http/Resources/DelegatesToResource.php index e932646e19af..fdb05db3134d 100644 --- a/src/Illuminate/Http/Resources/DelegatesToResource.php +++ b/src/Illuminate/Http/Resources/DelegatesToResource.php @@ -58,7 +58,7 @@ public function resolveRouteBinding($value, $field = null) */ public function resolveChildRouteBinding($childType, $value, $field = null) { - throw new Exception('Resources may not be implicitly resolved from route bindings.'); + throw new Exception('Resources may not be implicitly resolved from child route bindings.'); } /**