Sort conditions by cost
parent
17ae93bc9c
commit
abedc0dc42
|
@ -291,7 +291,7 @@ EOT
|
|||
$value = $data;
|
||||
} elseif (isset($data['config'][$settingKey])) {
|
||||
$value = $this->config->get($settingKey, $input->getOption('absolute') ? 0 : Config::RELATIVE_PATHS);
|
||||
} elseif (in_array($settingKey, $properties, true) && isset($rawData[$settingKey])) {
|
||||
} elseif (isset($rawData[$settingKey]) && in_array($settingKey, $properties, true)) {
|
||||
$value = $rawData[$settingKey];
|
||||
} else {
|
||||
throw new \RuntimeException($settingKey.' is not defined');
|
||||
|
|
Loading…
Reference in New Issue