@@ -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,$this->rules)) ; |
|
| 26 | + $result = $this->callProperty($name, $element, $this->valueParser->parse(trim($value), $element, $this->rules)); |
|
| 27 | 27 | if ($result === false) break; |
| 28 | 28 | } |
| 29 | 29 | } |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | else $tss = ''; |
| 118 | 118 | //Create a document to mimic the structure of the parent template |
| 119 | 119 | |
| 120 | - $newDocument = $this->createDummyTemplateDoc($element, $this->baseDir . $val[0]); |
|
| 120 | + $newDocument = $this->createDummyTemplateDoc($element, $this->baseDir.$val[0]); |
|
| 121 | 121 | |
| 122 | 122 | //Build a new template using the $newDocument |
| 123 | 123 | $newTemplate = new \Transphporm\Builder($newDocument->saveXml(), $tss); |