Completed
Pull Request — master (#1936)
by
unknown
02:04
created
core/theme/Theme.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         }
65 65
     
66 66
         $pos = strpos($viewPath, '/');
67
-        $rootPath = $pos === false ? $viewPath : (substr($viewPath, 0, $pos) . '/views');
67
+        $rootPath = $pos === false ? $viewPath : (substr($viewPath, 0, $pos).'/views');
68 68
         $this->pathMap[$rootPath] = $pathMap;
69 69
     
70 70
         $this->pathMap['@app/views'] = $pathMap;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     
85 85
     public function getLayoutPath()
86 86
     {
87
-        return $this->viewPath . '/' . self::LAYOUTS_PATH;
87
+        return $this->viewPath.'/'.self::LAYOUTS_PATH;
88 88
     }
89 89
     
90 90
     public function getConfig()
Please login to merge, or discard this patch.
core/base/Module.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      */
215 215
     public function getLayoutPath()
216 216
     {
217
-        if ($this->theme){
217
+        if ($this->theme) {
218 218
             if ($this->useAppLayoutPath) {
219 219
                 $this->setLayoutPath($this->theme->layoutPath);
220 220
             }
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
      */
324 324
     public function getControllerPath()
325 325
     {
326
-        return Yii::getAlias('@' . str_replace('\\', '/', $this->controllerNamespace), false);
326
+        return Yii::getAlias('@'.str_replace('\\', '/', $this->controllerNamespace), false);
327 327
     }
328 328
 
329 329
     // STATIC METHODS
Please login to merge, or discard this patch.
core/Yii.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,5 +19,5 @@
 block discarded – undo
19 19
 
20 20
 spl_autoload_register(['Yii', 'autoload'], true, true);
21 21
 defined('LUYA_YII_VENDOR') ?: define('LUYA_YII_VENDOR', 'vendor/yiisoft/yii2');
22
-Yii::$classMap = require(LUYA_YII_VENDOR . '/classes.php');
22
+Yii::$classMap = require(LUYA_YII_VENDOR.'/classes.php');
23 23
 Yii::$container = new yii\di\Container();
Please login to merge, or discard this patch.