@@ -230,7 +230,7 @@ |
||
| 230 | 230 | $results = ArrayHelper::searchColumns($results, $key, $value); |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | - return empty($results) ? false : key($results);; |
|
| 233 | + return empty($results) ? false : key($results); ; |
|
| 234 | 234 | } |
| 235 | 235 | |
| 236 | 236 | private $_keys; |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | if ($throwException) { |
| 50 | - throw new Exception("The given object must be an instance of: " . implode(",", $haystack)); |
|
| 50 | + throw new Exception("The given object must be an instance of: ".implode(",", $haystack)); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | return false; |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | } |
| 213 | 213 | } catch (InvalidParamException $e) { |
| 214 | 214 | try { |
| 215 | - $staticPath = $module::staticBasePath() . DIRECTORY_SEPARATOR . 'controllers'; |
|
| 215 | + $staticPath = $module::staticBasePath().DIRECTORY_SEPARATOR.'controllers'; |
|
| 216 | 216 | foreach (FileHelper::findFiles($staticPath) as $file) { |
| 217 | 217 | $files[self::fileToName($staticPath, $file)] = $file; |
| 218 | 218 | } |
@@ -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 |