Skip to content

Commit d9df75f

Browse files
EdenMlbastien-phi
authored andcommitted
refact(*): rector
1 parent e54141e commit d9df75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InvalidRouteBinding.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public static function handleUsing(?Closure $handler): void
2020

2121
public static function handle(string $model, string $field): void
2222
{
23-
static::$handler ??= function (): void {
23+
static::$handler ??= function (): never {
2424
throw new ModelNotFoundException('Invalid route binding.');
2525
};
2626

0 commit comments

Comments
 (0)