Completed
Push — master ( 352f6d...fa6ea1 )
by Basil
04:37 queued 02:26
created
core/traits/ApplicationTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
core/base/BaseBootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
             // see if the module has a registerComponents method
107 107
             foreach ($module->registerComponents() as $componentId => $definition) {
108 108
                 if (!$app->has($componentId)) {
109
-                    Yii::debug('Register component ' . $componentId, __METHOD__);
109
+                    Yii::debug('Register component '.$componentId, __METHOD__);
110 110
                     $app->set($componentId, $definition);
111 111
                 }
112 112
             }
Please login to merge, or discard this patch.