@@ -26,11 +26,12 @@ |
||
26 | 26 | private function getArgs0($name, $args) { |
27 | 27 | if (isset($this->functions[$name]) && !($this->functions[$name] instanceof TSSFunction\Data)) { |
28 | 28 | $tokens = $args[0]; |
29 | - if ($tokens->count() == 0) return []; |
|
29 | + if ($tokens->count() == 0) { |
|
30 | + return []; |
|
31 | + } |
|
30 | 32 | $parser = new \Transphporm\Parser\Value($this); |
31 | 33 | return $parser->parseTokens($tokens, $this->elementData->getData($this->element)); |
32 | - } |
|
33 | - else { |
|
34 | + } else { |
|
34 | 35 | return iterator_to_array($args[0]); |
35 | 36 | } |
36 | 37 |