Commit 9c660829 authored by Taylor Otwell's avatar Taylor Otwell

fix type hitns

parent 58e4045f
...@@ -28,7 +28,7 @@ class Handler extends ExceptionHandler ...@@ -28,7 +28,7 @@ class Handler extends ExceptionHandler
* @param \Throwable $e * @param \Throwable $e
* @return void * @return void
*/ */
public function report($e) public function report(Exception $e)
{ {
return parent::report($e); return parent::report($e);
} }
...@@ -40,7 +40,7 @@ class Handler extends ExceptionHandler ...@@ -40,7 +40,7 @@ class Handler extends ExceptionHandler
* @param \Throwable $e * @param \Throwable $e
* @return \Illuminate\Http\Response * @return \Illuminate\Http\Response
*/ */
public function render($request, $e) public function render($request, Exception $e)
{ {
if ($e instanceof ModelNotFoundException) { if ($e instanceof ModelNotFoundException) {
$e = new NotFoundHttpException($e->getMessage(), $e); $e = new NotFoundHttpException($e->getMessage(), $e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment