Correct exception handler doc (#5187)

This commit is contained in:
Graham Campbell 2019-12-24 17:35:58 +00:00 committed by GitHub
parent 99f183b5c7
commit 846f7a193a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,8 @@ class Handler extends ExceptionHandler
* *
* @param \Exception $exception * @param \Exception $exception
* @return void * @return void
*
* @throws \Exception
*/ */
public function report(Exception $exception) public function report(Exception $exception)
{ {
@ -42,7 +44,9 @@ class Handler extends ExceptionHandler
* *
* @param \Illuminate\Http\Request $request * @param \Illuminate\Http\Request $request
* @param \Exception $exception * @param \Exception $exception
* @return \Illuminate\Http\Response * @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Exception
*/ */
public function render($request, Exception $exception) public function render($request, Exception $exception)
{ {