|
@@ -58,7 +58,7 @@ |
|
|
block discarded – undo |
|
58
|
58
|
|
|
59
|
59
|
if (array_key_exists('default', $config)) { |
|
60
|
60
|
if (!is_string($config['default']) && !is_int($config['default'])) { |
|
61
|
|
- throw new \RuntimeException('The default value must be a string or an integer (name: '.$config['name'].'). ' . ucfirst(gettype($config['default'])) . ' with value ' . json_encode($config['default']) . ' given.'); |
|
|
61
|
+ throw new \RuntimeException('The default value must be a string or an integer (name: ' . $config['name'] . '). ' . ucfirst(gettype($config['default'])) . ' with value ' . json_encode($config['default']) . ' given.'); |
|
62
|
62
|
} |
|
63
|
63
|
$defaultValue = self::getDefaultValue($config['default']); |
|
64
|
64
|
if ($defaultValue !== '') { |
Please login to merge, or discard this patch.