正在显示
1 个修改的文件
包含
2 行增加
和
3 行删除
| @@ -4,7 +4,7 @@ use Lackoxygen\ExceptionPush\Agents\{Ding, Wx}; | @@ -4,7 +4,7 @@ use Lackoxygen\ExceptionPush\Agents\{Ding, Wx}; | ||
| 4 | 4 | ||
| 5 | return [ | 5 | return [ |
| 6 | 'agents' => [ | 6 | 'agents' => [ |
| 7 | - Wx::class => [ | 7 | + Wx::class => [ |
| 8 | 'key' => '', 'enable' => false | 8 | 'key' => '', 'enable' => false |
| 9 | ], Ding::class => [ | 9 | ], Ding::class => [ |
| 10 | 'token' => '', 'secret' => '', 'enable' => false | 10 | 'token' => '', 'secret' => '', 'enable' => false |
| @@ -16,7 +16,6 @@ return [ | @@ -16,7 +16,6 @@ return [ | ||
| 16 | ], | 16 | ], |
| 17 | 17 | ||
| 18 | 'callbacks' => [ | 18 | 'callbacks' => [ |
| 19 | - 'formatter' => function (\Lackoxygen\ExceptionPush\Attribute\Context $context) { }, | ||
| 20 | - 'dispatcher' => function () { } | 19 | + 'formatter' => null, 'dispatcher' => null |
| 21 | ] | 20 | ] |
| 22 | ]; | 21 | ]; |
-
请 注册 或 登录 后发表评论