Completed
Pull Request — master (#1936)
by
unknown
02:28
created
core/theme/ThemeConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,6 +97,6 @@
 block discarded – undo
97 97
     
98 98
     public function getViewPath()
99 99
     {
100
-        return $this->getBasePath() . '/views';
100
+        return $this->getBasePath().'/views';
101 101
     }
102 102
 }
103 103
\ No newline at end of file
Please login to merge, or discard this patch.
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->getLayoutPath());
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.