diff --git a/src/Runtime/Exceptions/ExceptionHandler.php b/src/Runtime/Exceptions/ExceptionHandler.php index e4ec7da..de20c01 100644 --- a/src/Runtime/Exceptions/ExceptionHandler.php +++ b/src/Runtime/Exceptions/ExceptionHandler.php @@ -5,7 +5,7 @@ namespace Runtime\Exceptions; use Whoops\Handler\Handler; use Whoops\Handler\JsonResponseHandler; use Whoops\Handler\PlainTextHandler; -use Whoops\Run; +use Whoops\Run as RunWhoops; use Whoops\Handler\PrettyPageHandler; use Whoops\Util\Misc; use function DI\value; @@ -13,7 +13,7 @@ use function DI\value; class ExceptionHandler { /** - * @var Run + * @var RunWhoops */ private static $handler; @@ -39,7 +39,7 @@ class ExceptionHandler { */ public static function register() { - self::$handler = new Run(); + self::$handler = new RunWhoops(); $debug = env('debug');