Skip to content

Commit 03469f2

Browse files
Use clearer route binding exceptions (#56298)
1 parent b7510a1 commit 03469f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Http/Resources/DelegatesToResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function resolveRouteBinding($value, $field = null)
5858
*/
5959
public function resolveChildRouteBinding($childType, $value, $field = null)
6060
{
61-
throw new Exception('Resources may not be implicitly resolved from route bindings.');
61+
throw new Exception('Resources may not be implicitly resolved from child route bindings.');
6262
}
6363

6464
/**

0 commit comments

Comments
 (0)