mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix typing error
Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
parent
0bf4e1e840
commit
f40150b758
1 changed files with 5 additions and 1 deletions
|
|
@ -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…
Reference in a new issue