Andrew Wallo 5 月之前
父節點
當前提交
1bd53f8d8e
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      bootstrap/app.php

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

10
         api: __DIR__ . '/../routes/api.php',
10
         api: __DIR__ . '/../routes/api.php',
11
         commands: __DIR__ . '/../routes/console.php',
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
     })->create();
18
     })->create();

Loading…
取消
儲存