@@ -10,7 +10,7 @@ |
||
10 | 10 | public function run(array $args, \DomElement $element) { |
11 | 11 | $const_name = strtoupper(trim($args[0])); |
12 | 12 | if (!defined($const_name)) { |
13 | - throw new \Exception($const_name . ' is not a defined constant'); |
|
13 | + throw new \Exception($const_name.' is not a defined constant'); |
|
14 | 14 | } |
15 | 15 | return constant($const_name); |
16 | 16 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | $templateFunction = new \Transphporm\TSSFunction\Template($config->getElementData(), $config->getCssToXpath(), $baseDir); |
22 | 22 | $functionSet->addFunction('template', $templateFunction); |
23 | 23 | $functionSet->addFunction('json', new \Transphporm\TSSFunction\Json($baseDir)); |
24 | - $functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant()); |
|
24 | + $functionSet->addFunction('constant', new \Transphporm\TSSFunction\Constant()); |
|
25 | 25 | |
26 | 26 | // Register HTML formatter here because it uses the template function |
27 | 27 | $config->registerFormatter(new \Transphporm\Formatter\HTMLFormatter($templateFunction)); |