@@ -36,11 +36,9 @@ |
||
36 | 36 | $data = $this->offsetGet($key); |
37 | 37 | if (is_array($data)) { |
38 | 38 | $this->offsetSet($key, array_merge($data, $default)); |
39 | - } |
|
40 | - elseif (is_numeric($data)) { |
|
39 | + } elseif (is_numeric($data)) { |
|
41 | 40 | $this->offsetSet($key, $data + $default); |
42 | - } |
|
43 | - elseif (is_scalar($data)) { |
|
41 | + } elseif (is_scalar($data)) { |
|
44 | 42 | $this->offsetSet($key, $data . $default); |
45 | 43 | } |
46 | 44 | return $this; |