From 0b1a8d7572886a5dd23446cce9d0b5b58ef90b9b Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 6 Oct 2021 09:51:29 +1100 Subject: [PATCH] Fixes for L6 --- app/Exceptions/Handler.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 55b013ddb8..b037b6029e 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -2,19 +2,19 @@ namespace App\Exceptions; +use App\Http\Requests\Request; use Exception; -use Illuminate\Auth\AuthenticationException; use Illuminate\Auth\Access\AuthorizationException; +use Illuminate\Auth\AuthenticationException; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Http\Exceptions\HttpResponseException; -use Illuminate\Support\Facades\Response; use Illuminate\Session\TokenMismatchException; +use Illuminate\Support\Facades\Response; use Redirect; use Symfony\Component\HttpKernel\Exception\HttpException; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; use Utils; -use Request; /** * Class Handler. @@ -101,7 +101,7 @@ class Handler extends ExceptionHandler */ public function render($request, Exception $e) { - $value = Request::header('X-Ninja-Token'); + $value = \Request::header('X-Ninja-Token'); if ($e instanceof ModelNotFoundException) {