fix type hitns

This commit is contained in:
Taylor Otwell 2015-08-06 12:49:41 -05:00
parent 58e4045f6d
commit 9c66082972
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class Handler extends ExceptionHandler
* @param \Throwable $e
* @return void
*/
public function report($e)
public function report(Exception $e)
{
return parent::report($e);
}
@ -40,7 +40,7 @@ public function report($e)
* @param \Throwable $e
* @return \Illuminate\Http\Response
*/
public function render($request, $e)
public function render($request, Exception $e)
{
if ($e instanceof ModelNotFoundException) {
$e = new NotFoundHttpException($e->getMessage(), $e);