@@ -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 | /* |
@@ -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 | /** |
@@ -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 | } |
@@ -27,7 +27,7 @@ discard block |
||
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. |
@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | $this->config = new Config(array_merge( |
60 | - (array)$defaults, |
|
61 | - (array)$config) |
|
60 | + (array) $defaults, |
|
61 | + (array) $config) |
|
62 | 62 | ); |
63 | 63 | } |
64 | 64 |
@@ -52,7 +52,7 @@ discard block |
||
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, |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | */ |
70 | 70 | public function hasKey($key) |
71 | 71 | { |
72 | - return array_key_exists($key, (array)$this); |
|
72 | + return array_key_exists($key, (array) $this); |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -93,6 +93,6 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function getKeys() |
95 | 95 | { |
96 | - return array_keys((array)$this); |
|
96 | + return array_keys((array) $this); |
|
97 | 97 | } |
98 | 98 | } |
99 | 99 | \ No newline at end of file |