Completed
Push — master ( f298a3...568556 )
by Marc
02:53
created
core/traits/ApplicationTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
                 case 'en':
105 105
                     return 'en_US';
106 106
                 default:
107
-                    return strtolower($lang) . '_' . strtoupper($lang);
107
+                    return strtolower($lang).'_'.strtoupper($lang);
108 108
             }
109 109
         }
110 110
         
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     public function getPackageInstaller()
132 132
     {
133
-        $file = Yii::getAlias('@vendor' . DIRECTORY_SEPARATOR . 'luyadev' . DIRECTORY_SEPARATOR . 'installer.php');
133
+        $file = Yii::getAlias('@vendor'.DIRECTORY_SEPARATOR.'luyadev'.DIRECTORY_SEPARATOR.'installer.php');
134 134
         
135 135
         $data = [];
136 136
         if (is_file($file)) {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
     public function getWebroot()
163 163
     {
164 164
         if ($this->_webroot === null) {
165
-            $this->_webroot = realpath(realpath($this->basePath) . DIRECTORY_SEPARATOR . $this->webrootDirectory);
165
+            $this->_webroot = realpath(realpath($this->basePath).DIRECTORY_SEPARATOR.$this->webrootDirectory);
166 166
         }
167 167
         
168 168
         return $this->_webroot;
Please login to merge, or discard this patch.