From c5faeb0401187f903fed49398e7fe6362afeddd4 Mon Sep 17 00:00:00 2001 From: Maarten Date: Wed, 26 Feb 2020 18:15:59 +0100 Subject: [PATCH] Set alias for Whoops --- src/Runtime/Exceptions/ExceptionHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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');