@@ -97,6 +97,6 @@ |
||
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 |
@@ -64,7 +64,7 @@ discard block |
||
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 |
||
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() |
@@ -214,7 +214,7 @@ discard block |
||
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 |
||
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 |