@@ -23,7 +23,7 @@ |
||
23 | 23 | if (!$this->pseudoMatcher->matches($element)) return; |
24 | 24 | |
25 | 25 | foreach ($this->rules as $name => $value) { |
26 | - $result = $this->callProperty($name, $element, $this->valueParser->parse(trim($value), $element)) ; |
|
26 | + $result = $this->callProperty($name, $element, $this->valueParser->parse(trim($value), $element)); |
|
27 | 27 | if ($result === false) break; |
28 | 28 | } |
29 | 29 | } |
@@ -120,7 +120,7 @@ |
||
120 | 120 | public function template($val, $element) { |
121 | 121 | $tssToApply = $this->getTss($val); |
122 | 122 | |
123 | - $newTemplate = new \Transphporm\Builder($this->baseDir . $val[0], $this->baseDir . $tssToApply); |
|
123 | + $newTemplate = new \Transphporm\Builder($this->baseDir.$val[0], $this->baseDir.$tssToApply); |
|
124 | 124 | $data = $this->getData($element); |
125 | 125 | $doc = $newTemplate->output($data, true)->body; |
126 | 126 | if (!empty($val[1])) return $this->templateSubsection($val[1], $doc, $element); |