Skip to content
This repository has been archived by the owner on May 24, 2020. It is now read-only.

Commit

Permalink
Bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Jun 19, 2017
1 parent 23e53e7 commit bb9ea22
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Config.php
Expand Up @@ -255,7 +255,11 @@ protected function formatHandlers(array $handlers = [])
protected function formatProcessors(array $processors = [])
{
foreach ($processors as $id => $option) {
$class = $option['processor'] ?? LineFormatter::class;
if (empty($option['processor'])) {
continue;
}

$class = $option['processor'];
unset($option['processor']);

$processors[$id] = [
Expand Down

0 comments on commit bb9ea22

Please sign in to comment.