Skip to content

Commit

Permalink
Spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Van Peer Ilias committed Jan 27, 2016
1 parent 9a5235c commit bef03af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public function handleShutdown(Worker $worker, LoggerInterface $logger)
$error = error_get_last();
$fatal = E_ERROR | E_USER_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_RECOVERABLE_ERROR;

if (! empty($error) && $error['type'] & $fatal) {
if (!empty($error) && $error['type'] & $fatal) {
$logger->critical('Stopping worker because fatal error occurred', $error);
$worker->stop();
}
Expand Down

0 comments on commit bef03af

Please sign in to comment.