@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | // generate from `de` the locale `de_DE` or from `en` `en_EN` only if $lang is 2 chars. |
| 170 | 170 | if (strlen($lang) == 2) { |
| 171 | - return strtolower($lang) . '_' . strtoupper($lang); |
|
| 171 | + return strtolower($lang).'_'.strtoupper($lang); |
|
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | return $lang; |
@@ -237,7 +237,7 @@ discard block |
||
| 237 | 237 | public function getWebroot() |
| 238 | 238 | { |
| 239 | 239 | if ($this->_webroot === null) { |
| 240 | - $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory); |
|
| 240 | + $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory); |
|
| 241 | 241 | } |
| 242 | 242 | |
| 243 | 243 | return $this->_webroot; |
@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | public function getAdminModulesMenus() |
| 319 | 319 | { |
| 320 | 320 | $menu = []; |
| 321 | - foreach($this->getAdminModules() as $module) { |
|
| 321 | + foreach ($this->getAdminModules() as $module) { |
|
| 322 | 322 | if ($module->getMenu()) { |
| 323 | 323 | $menu[$module->id] = $module->getMenu(); |
| 324 | 324 | } |