Skip to content

Commit 11136fb

Browse files
author
Josh Anderson
committed
Make AbstractHandler compatible with Throwable and the latest version of Laravel
1 parent 70884c5 commit 11136fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Handlers/AbstractHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace SMartins\Exceptions\Handlers;
44

5+
use Throwable;
56
use Exception;
67
use Illuminate\Auth\Access\AuthorizationException;
78
use Illuminate\Auth\AuthenticationException;
@@ -55,7 +56,7 @@ abstract class AbstractHandler
5556
*
5657
* @param Exception $e
5758
*/
58-
public function __construct(Exception $e)
59+
public function __construct(Throwable $e)
5960
{
6061
$this->exception = $e;
6162
}

0 commit comments

Comments
 (0)