@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | if (isset($list) && !is_array($list)) { |
| 27 | 27 | throw new \Exception("Unable to apply {$this->property} processing instruction:" |
| 28 | - . " Expected an array, got a " . (is_object($list) ? get_class($list) . ' ' : '') . gettype($list)); |
|
| 28 | + . " Expected an array, got a ".(is_object($list) ? get_class($list).' ' : '').gettype($list)); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | $result = $this->merge((array)$list); |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | if (count($scalar) > 0 && $scalar[0]) { |
| 95 | 95 | $result = join('', $list); |
| 96 | 96 | } else { |
| 97 | - if(empty($list)) { |
|
| 97 | + if (empty($list)) { |
|
| 98 | 98 | return null; |
| 99 | 99 | } |
| 100 | 100 | $result = call_user_func_array('array_merge', $list); |