summaryrefslogtreecommitdiffstats
path: root/core/Command/Base.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Base.php')
-rw-r--r--core/Command/Base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/Base.php b/core/Command/Base.php
index 678f0286db5..9c20e049311 100644
--- a/core/Command/Base.php
+++ b/core/Command/Base.php
@@ -121,9 +121,9 @@ class Base extends Command implements CompletionAwareInterface {
protected function valueToString($value, $returnNull = true) {
if ($value === false) {
return 'false';
- } else if ($value === true) {
+ } elseif ($value === true) {
return 'true';
- } else if ($value === null) {
+ } elseif ($value === null) {
return $returnNull ? null : 'null';
} else {
return $value;