diff options
Diffstat (limited to 'appinfo/app.php')
-rw-r--r-- | appinfo/app.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/app.php b/appinfo/app.php index 8188d3eeb..2809795fb 100644 --- a/appinfo/app.php +++ b/appinfo/app.php @@ -18,9 +18,9 @@ use \OCA\News\Config\DependencyException; // Turn all errors into exceptions to combat shitty library behavior set_error_handler(function ($code, $message) { - if ($code === E_ERROR || $code === E_USER_ERROR) { - throw new \Exception($message, $code); - } + if ($code === E_ERROR || $code === E_USER_ERROR) { + throw new \Exception($message, $code); + } }); $container = new Application(); |