| Conditions | 4 |
| Paths | 3 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | private function getArgs0($name, $args) { |
||
| 27 | if (isset($this->functions[$name]) && !($this->functions[$name] instanceof TSSFunction\Data)) { |
||
| 28 | $tokens = $args[0]; |
||
| 29 | if ($tokens->count() == 0) return []; |
||
| 30 | $parser = new \Transphporm\Parser\Value($this); |
||
| 31 | return $parser->parseTokens($tokens, $this->elementData->getData($this->element)); |
||
| 32 | } |
||
| 33 | else { |
||
| 34 | return iterator_to_array($args[0]); |
||
| 35 | } |
||
| 36 | |||
| 37 | } |
||
| 38 | |||
| 52 |