@@ -140,6 +140,6 @@ |
||
140 | 140 | */ |
141 | 141 | public function getViewPath() |
142 | 142 | { |
143 | - return $this->getBasePath() . '/views'; |
|
143 | + return $this->getBasePath().'/views'; |
|
144 | 144 | } |
145 | 145 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | if ($throwException) { |
61 | - throw new Exception("The given object must be an instance of: " . implode(",", $haystack)); |
|
61 | + throw new Exception("The given object must be an instance of: ".implode(",", $haystack)); |
|
62 | 62 | } |
63 | 63 | |
64 | 64 | return false; |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | } catch (InvalidParamException $e) { |
228 | 228 | }; |
229 | 229 | |
230 | - $staticPath = $module::staticBasePath() . DIRECTORY_SEPARATOR . 'controllers'; |
|
230 | + $staticPath = $module::staticBasePath().DIRECTORY_SEPARATOR.'controllers'; |
|
231 | 231 | if (is_dir($staticPath)) { |
232 | 232 | foreach (FileHelper::findFiles($staticPath) as $file) { |
233 | 233 | $files[self::fileToName($staticPath, $file)] = $file; |
@@ -57,7 +57,7 @@ |
||
57 | 57 | { |
58 | 58 | if (StringHelper::startsWith($value, '//')) { |
59 | 59 | // its an absolute url |
60 | - $value = StringHelper::replaceFirst('//', Url::base(true) . '/', $value); |
|
60 | + $value = StringHelper::replaceFirst('//', Url::base(true).'/', $value); |
|
61 | 61 | $external = false; |
62 | 62 | } elseif (StringHelper::startsWith($value, '/')) { |
63 | 63 | // its a relative url, keep it like this |