diff --git a/src/Console/Config.php b/src/Console/Config.php index a97574c976..3c775d4329 100644 --- a/src/Console/Config.php +++ b/src/Console/Config.php @@ -128,7 +128,7 @@ HELP; throw new RuntimeException("$cat.$key is an array and can't be set using this command."); } - if ($this->config->get($cat, $key) == $value) { + if ($this->config->get($cat, $key) === $value) { throw new RuntimeException("$cat.$key already set to $value."); }