@@ -14,6 +14,6 @@ |
||
| 14 | 14 | public function debug($val) { |
| 15 | 15 | ob_start(); |
| 16 | 16 | var_dump($val); |
| 17 | - return $this->html('<pre>' . ob_get_clean() . '</pre>'); |
|
| 17 | + return $this->html('<pre>'.ob_get_clean().'</pre>'); |
|
| 18 | 18 | } |
| 19 | 19 | } |
@@ -26,9 +26,9 @@ |
||
| 26 | 26 | $tss = $this->readArray($args, 2); |
| 27 | 27 | |
| 28 | 28 | if (trim($args[0])[0] === '<') $xml = $args[0]; |
| 29 | - else $xml = $this->baseDir . $args[0]; |
|
| 29 | + else $xml = $this->baseDir.$args[0]; |
|
| 30 | 30 | |
| 31 | - $newTemplate = new \Transphporm\Builder($xml, $tss ? $this->baseDir . $tss : null); |
|
| 31 | + $newTemplate = new \Transphporm\Builder($xml, $tss ? $this->baseDir.$tss : null); |
|
| 32 | 32 | |
| 33 | 33 | $doc = $newTemplate->output($this->elementData->getData($element), true)->body; |
| 34 | 34 | if ($selector != '') return $this->templateSubsection($doc, $selector); |