Skip to content

Commit f54898c

Browse files
edenleungStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent ca9d839 commit f54898c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Hander/Whoops.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace think\Whoops\Hander;
66

77
use think\App;
8-
use think\Response;
98
use think\exception\Handle;
109
use think\exception\HttpResponseException;
10+
use think\Response;
1111
use think\Whoops\Runner;
1212
use Throwable;
1313
use Whoops\Handler\JsonResponseHandler;
@@ -27,7 +27,6 @@ public function render($request, Throwable $e): Response
2727
{
2828
// Whoops 接管请求异常
2929
if (config('whoops.enable') && $this->app->isDebug()) {
30-
3130
if ($e instanceof HttpResponseException) {
3231
return $e->getResponse();
3332
}

0 commit comments

Comments
 (0)