Merge pull request #431 from froscon/hotfix

Hotfix php7 syntax error
This commit is contained in:
msquare 2018-05-15 15:09:42 +02:00 committed by GitHub
commit 3c1bb5c8b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class Handler
$handler = $this->handler[$this->environment]; $handler = $this->handler[$this->environment];
$handler->report($e); $handler->report($e);
$handler->render($this->request, $e); $handler->render($this->request, $e);
$this->die(); $this->terminateApplicationImmediately();
} }
/** /**
@ -73,7 +73,7 @@ class Handler
* @codeCoverageIgnore * @codeCoverageIgnore
* @param string $message * @param string $message
*/ */
protected function die($message = '') protected function terminateApplicationImmediately($message = '')
{ {
echo $message; echo $message;
die(); die();