Skip to content

Commit 26ea0b6

Browse files
[12.x] Fix: Add void return type to withMiddleware and withExceptions to satisfy Rector analysis (#6628)
1 parent 2f8a5bf commit 26ea0b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap/app.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
commands: __DIR__.'/../routes/console.php',
1111
health: '/up',
1212
)
13-
->withMiddleware(function (Middleware $middleware) {
13+
->withMiddleware(function (Middleware $middleware): void {
1414
//
1515
})
16-
->withExceptions(function (Exceptions $exceptions) {
16+
->withExceptions(function (Exceptions $exceptions): void {
1717
//
1818
})->create();

0 commit comments

Comments
 (0)