Andrew Wallo 1 月之前
父節點
當前提交
1bd53f8d8e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      bootstrap/app.php

+ 2
- 2
bootstrap/app.php 查看文件

@@ -10,9 +10,9 @@ return Application::configure(basePath: dirname(__DIR__))
10 10
         api: __DIR__ . '/../routes/api.php',
11 11
         commands: __DIR__ . '/../routes/console.php',
12 12
     )
13
-    ->withMiddleware(function (Middleware $middleware) {
13
+    ->withMiddleware(function (Middleware $middleware): void {
14 14
         //
15 15
     })
16
-    ->withExceptions(function (Exceptions $exceptions) {
16
+    ->withExceptions(function (Exceptions $exceptions): void {
17 17
         //
18 18
     })->create();

Loading…
取消
儲存