Fix typing error

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/27581/head
Louis Chemineau 5 years ago
parent 0bf4e1e840
commit f40150b758
  1. 6
      core/Command/Log/Manage.php

@ -190,7 +190,11 @@ class Manage extends Command implements CompletionAwareInterface {
} elseif ($optionName === 'level') {
return ['debug', 'info', 'warning', 'error', 'fatal'];
} elseif ($optionName === 'timezone') {
return \DateTimeZone::listIdentifiers();
$identifier = \DateTimeZone::listIdentifiers();
if ($identifier === false) {
return [];
}
return $identifier;
}
return [];
}

Loading…
Cancel
Save