Improve PHPDoc

This commit is contained in:
Jonny Barnes 2020-01-26 12:22:18 +00:00
parent c66eaaa97b
commit 9b8a0fc517

View file

@ -5,6 +5,8 @@ namespace App\Exceptions;
use App; use App;
use Exception; use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Session\TokenMismatchException; use Illuminate\Session\TokenMismatchException;
use Illuminate\Support\Facades\Route; 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. * This is a great spot to send exceptions to Sentry, Bugsnag, etc.
* *
* @param \Exception $exception * @param Exception $exception
* @return void * @return void
* @throws Exception * @throws Exception
*/ */
@ -75,9 +77,10 @@ class Handler extends ExceptionHandler
/** /**
* Render an exception into an HTTP response. * Render an exception into an HTTP response.
* *
* @param \Illuminate\Http\Request $request * @param Request $request
* @param \Exception $exception * @param Exception $exception
* @return \Illuminate\Http\Response * @return Response
* @throws Exception
*/ */
public function render($request, Exception $exception) public function render($request, Exception $exception)
{ {