We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54141e commit d9df75fCopy full SHA for d9df75f
src/InvalidRouteBinding.php
@@ -20,7 +20,7 @@ public static function handleUsing(?Closure $handler): void
20
21
public static function handle(string $model, string $field): void
22
{
23
- static::$handler ??= function (): void {
+ static::$handler ??= function (): never {
24
throw new ModelNotFoundException('Invalid route binding.');
25
};
26
0 commit comments