@@ -22,9 +22,9 @@ |
||
22 | 22 | |
23 | 23 | public function run(array $args, \DomElement $element) { |
24 | 24 | $selector = $this->readArray($args, 1); |
25 | - $tss = $this->baseDir . $this->readArray($args, 2); |
|
25 | + $tss = $this->baseDir.$this->readArray($args, 2); |
|
26 | 26 | |
27 | - $newTemplate = new \Transphporm\Builder($this->baseDir . $args[0], $tss); |
|
27 | + $newTemplate = new \Transphporm\Builder($this->baseDir.$args[0], $tss); |
|
28 | 28 | |
29 | 29 | $doc = $newTemplate->output($this->elementData->getData($element), true)->body; |
30 | 30 | if ($selector != '') return $this->templateSubsection($doc, $selector); |
@@ -6,12 +6,12 @@ |
||
6 | 6 | * @version 1.0 */ |
7 | 7 | namespace Transphporm\TSSFunction; |
8 | 8 | /* Handles data() and iteration() function calls from the stylesheet */ |
9 | -class Data implements \Transphporm\TSSFunction{ |
|
9 | +class Data implements \Transphporm\TSSFunction { |
|
10 | 10 | private $data; |
11 | 11 | private $dataType; |
12 | 12 | private $functionSet; |
13 | 13 | |
14 | - public function __construct(\Transphporm\Hook\ElementData $data, \Transphporm\FunctionSet $functionSet, $dataKey = 'data') { |
|
14 | + public function __construct(\Transphporm\Hook\ElementData $data, \Transphporm\FunctionSet $functionSet, $dataKey = 'data') { |
|
15 | 15 | $this->data = $data; |
16 | 16 | $this->dataKey = $dataKey; |
17 | 17 | $this->functionSet = $functionSet; |