From 9fe2d79a9f489953262ca0e254a6e8b7bf0a2c57 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Sat, 7 Jan 2023 21:45:37 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Exceptions/Handler.php | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 58f58f990..81da3b68c 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -3,15 +3,14 @@ namespace App\Exceptions; use Bugsnag\BugsnagLaravel\Facades\Bugsnag; -use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; -use Illuminate\Http\Exceptions\HttpResponseException; -use Illuminate\Support\Facades\Config; -use Illuminate\Support\Facades\Lang; use Exception; -use Illuminate\Support\Facades\App; use Illuminate\Auth\Access\AuthorizationException; use Illuminate\Database\Eloquent\ModelNotFoundException; +use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; +use Illuminate\Http\Exceptions\HttpResponseException; use Illuminate\Session\TokenMismatchException; +use Illuminate\Support\Facades\App; +use Illuminate\Support\Facades\Config; use Illuminate\Validation\ValidationException; use Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; @@ -35,8 +34,10 @@ class Handler extends ExceptionHandler /** * @param \Throwable $e - * @return void + * * @throws \Throwable + * + * @return void */ public function report(\Throwable $e) { @@ -74,8 +75,10 @@ class Handler extends ExceptionHandler /** * @param $request * @param \Throwable $e - * @return type|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse|\Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response + * * @throws \Throwable + * + * @return type|\Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse|\Illuminate\Http\Response|\Symfony\Component\HttpFoundation\Response */ public function render($request, \Throwable $e) { @@ -225,4 +228,4 @@ class Handler extends ExceptionHandler return parent::render($request, $e); } -} \ No newline at end of file +}