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.");
}