From 05680f576644b79aeda67a8037b617c600fb7e60 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 7 Sep 2020 21:17:10 +0300 Subject: [PATCH] refactor(bootstrap): update code according to coding doctrine coding standard --- src/flextype/bootstrap.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/flextype/bootstrap.php b/src/flextype/bootstrap.php index 504b2130..62870a48 100755 --- a/src/flextype/bootstrap.php +++ b/src/flextype/bootstrap.php @@ -100,12 +100,6 @@ if ($registry->get('flextype.settings.errors.display')) { $whoops->register(); - flextype()->container()['phpErrorHandler'] = - flextype()->container()['errorHandler'] = - static function () use ($whoops) { - return new WhoopsErrorHandler($whoops); - }; - flextype()->container()['whoops'] = $whoops; } else { error_reporting(0);