Andrew Wallo 1 个月前
父节点
当前提交
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();

正在加载...
取消
保存