|
@@ -138,7 +138,7 @@ |
|
|
block discarded – undo |
|
138
|
138
|
unset($values[$k]); |
|
139
|
139
|
if (!is_string($k)) { |
|
140
|
140
|
if (!is_string($v)) { |
|
141
|
|
- throw new \UnexpectedValueException(sprintf("Key '%s' for value '%s' is not a string!", print_r($k,1), print_r($v,1))); |
|
|
141
|
+ throw new \UnexpectedValueException(sprintf("Key '%s' for value '%s' is not a string!", print_r($k, 1), print_r($v, 1))); |
|
142
|
142
|
} else { |
|
143
|
143
|
// if the key is not a string, use the value if it is a string |
|
144
|
144
|
$k = $v; |
Please login to merge, or discard this patch.