1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

refactor(bootstrap): update code according to coding doctrine coding standard

This commit is contained in:
Awilum
2020-09-07 21:17:10 +03:00
parent 5e7084de64
commit 05680f5766

View File

@@ -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);