@@ -19,7 +19,7 @@ |
||
19 | 19 | * specific view to be rendered. |
20 | 20 | */ |
21 | 21 | 'view_root_locations' => [ |
22 | - 'default' => __DIR__ . '/../views', |
|
22 | + 'default' => __DIR__.'/../views', |
|
23 | 23 | ], |
24 | 24 | |
25 | 25 | /* |
@@ -27,7 +27,7 @@ |
||
27 | 27 | class ChainMail |
28 | 28 | { |
29 | 29 | |
30 | - const DEFAULT_CONFIG = __DIR__ . '/../config/defaults.php'; |
|
30 | + const DEFAULT_CONFIG = __DIR__.'/../config/defaults.php'; |
|
31 | 31 | |
32 | 32 | /** |
33 | 33 | * Configuration Settings. |
@@ -150,7 +150,7 @@ |
||
150 | 150 | */ |
151 | 151 | protected function getViewLocation(array $context) |
152 | 152 | { |
153 | - return $this->getViewRoot() . '/sections/' . $context['format'] . '/' . $this->getViewName(); |
|
153 | + return $this->getViewRoot().'/sections/'.$context['format'].'/'.$this->getViewName(); |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
@@ -52,7 +52,7 @@ |
||
52 | 52 | public function __call($function, $arguments) |
53 | 53 | { |
54 | 54 | if ( ! is_callable($function) || substr($function, 0, 6) !== 'array_') { |
55 | - throw new BadMethodCallException(__CLASS__ . '->' . $function); |
|
55 | + throw new BadMethodCallException(__CLASS__.'->'.$function); |
|
56 | 56 | } |
57 | 57 | |
58 | 58 | return call_user_func_array($function, |
@@ -155,7 +155,7 @@ |
||
155 | 155 | */ |
156 | 156 | protected function getViewLocation(array $context) |
157 | 157 | { |
158 | - return $this->getViewRoot() . '/templates/' . $context['format'] . '/' . $this->getViewName(); |
|
158 | + return $this->getViewRoot().'/templates/'.$context['format'].'/'.$this->getViewName(); |
|
159 | 159 | } |
160 | 160 | |
161 | 161 | /** |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | ob_start(); |
39 | 39 | |
40 | - include $this->viewLocation . '.php'; |
|
40 | + include $this->viewLocation.'.php'; |
|
41 | 41 | |
42 | 42 | return ob_get_clean(); |
43 | 43 | } |