From 9b8a0fc5178fa82c6b7d0f45f305e85ba73e916c Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 26 Jan 2020 12:22:18 +0000 Subject: [PATCH] Improve PHPDoc --- app/Exceptions/Handler.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 30b5f488..30ef2476 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -5,6 +5,8 @@ namespace App\Exceptions; use App; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; +use Illuminate\Http\Request; +use Illuminate\Http\Response; use Illuminate\Session\TokenMismatchException; use Illuminate\Support\Facades\Route; @@ -37,7 +39,7 @@ class Handler extends ExceptionHandler * * This is a great spot to send exceptions to Sentry, Bugsnag, etc. * - * @param \Exception $exception + * @param Exception $exception * @return void * @throws Exception */ @@ -75,9 +77,10 @@ class Handler extends ExceptionHandler /** * Render an exception into an HTTP response. * - * @param \Illuminate\Http\Request $request - * @param \Exception $exception - * @return \Illuminate\Http\Response + * @param Request $request + * @param Exception $exception + * @return Response + * @throws Exception */ public function render($request, Exception $exception) {