@@ -20,8 +20,7 @@ discard block |
||
| 20 | 20 | if (isset($this->functions[$name])) { |
| 21 | 21 | return $this->functions[$name]->run($this->getArgs0($name, $args), $this->element); |
| 22 | 22 | } |
| 23 | - } |
|
| 24 | - catch (\Exception $e) { |
|
| 23 | + } catch (\Exception $e) { |
|
| 25 | 24 | throw new RunException(Exception::TSS_FUNCTION, $name, $e); |
| 26 | 25 | } |
| 27 | 26 | return false; |
@@ -32,8 +31,7 @@ discard block |
||
| 32 | 31 | $tokens = $args[0]; |
| 33 | 32 | $parser = new \Transphporm\Parser\Value($this); |
| 34 | 33 | return $parser->parseTokens($tokens, $this->elementData->getData($this->element)); |
| 35 | - } |
|
| 36 | - else if ($args[0] instanceof Parser\Tokens) { |
|
| 34 | + } else if ($args[0] instanceof Parser\Tokens) { |
|
| 37 | 35 | return iterator_to_array($args[0]); |
| 38 | 36 | } |
| 39 | 37 | |