|
@@ -101,13 +101,9 @@ class Configuration implements ConfigurationInterface
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // organize inputs and arbitrary options
|
|
|
- $inputsKey = isset($v['input']) ? 'input' : 'inputs';
|
|
|
+ // organize arbitrary options
|
|
|
foreach ($v as $key => $value) {
|
|
|
- if (is_integer($key)) {
|
|
|
- $v[$inputsKey][] = $value;
|
|
|
- unset($v[$key]);
|
|
|
- } elseif (!in_array($key, array('input', 'inputs', 'filter', 'filters', 'option', 'options'))) {
|
|
|
+ if (!in_array($key, array('input', 'inputs', 'filter', 'filters', 'option', 'options'))) {
|
|
|
$v['options'][$key] = $value;
|
|
|
unset($v[$key]);
|
|
|
}
|