@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | public function initBasePath() |
28 | 28 | { |
29 | - $this->setBasePath(MODULES_PATH . Request::instance()->getModuleName() . '/views/'); |
|
29 | + $this->setBasePath(MODULES_PATH.Request::instance()->getModuleName().'/views/'); |
|
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | return $nameVariation; |
41 | 41 | } |
42 | 42 | } |
43 | - return '\Nip\Helpers\View\\' . $name; |
|
43 | + return '\Nip\Helpers\View\\'.$name; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | public static function getHelperClassVariations($name) |
51 | 51 | { |
52 | 52 | return [ |
53 | - '\Nip\View\Helpers\\' . $name . 'Helper', |
|
53 | + '\Nip\View\Helpers\\'.$name.'Helper', |
|
54 | 54 | ]; |
55 | 55 | } |
56 | 56 | } |
@@ -43,7 +43,7 @@ |
||
43 | 43 | $reflector = new ReflectionClass(get_class($this)); |
44 | 44 | $dirName = dirname($reflector->getFileName()); |
45 | 45 | |
46 | - return dirname(dirname($dirName)) . DIRECTORY_SEPARATOR . "views" . DIRECTORY_SEPARATOR; |
|
46 | + return dirname(dirname($dirName)).DIRECTORY_SEPARATOR."views".DIRECTORY_SEPARATOR; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
@@ -9,7 +9,7 @@ |
||
9 | 9 | { |
10 | 10 | public function initBasePath() |
11 | 11 | { |
12 | - $this->setBasePath(MODULES_PATH . Request::instance()->getModuleName() . '/views/'); |
|
12 | + $this->setBasePath(MODULES_PATH.Request::instance()->getModuleName().'/views/'); |
|
13 | 13 | } |
14 | 14 | |
15 | 15 | public function output($view, $name) |