[12.x] Fix: Add void return type to withMiddleware and withExceptions to satisfy Rector analysis (#6628)

This commit is contained in:
Aluísio Pires
2025-06-09 09:16:34 -05:00
committed by GitHub
parent 2f8a5bf10d
commit 26ea0b697c
+2 -2
View File
@@ -10,9 +10,9 @@ return Application::configure(basePath: dirname(__DIR__))
commands: __DIR__.'/../routes/console.php', commands: __DIR__.'/../routes/console.php',
health: '/up', health: '/up',
) )
->withMiddleware(function (Middleware $middleware) { ->withMiddleware(function (Middleware $middleware): void {
// //
}) })
->withExceptions(function (Exceptions $exceptions) { ->withExceptions(function (Exceptions $exceptions): void {
// //
})->create(); })->create();