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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user