@@ -33,14 +33,14 @@ |
||
33 | 33 | { |
34 | 34 | if ($this->module instanceof Module) { |
35 | 35 | if ($this->module->useAppViewPath) { |
36 | - return '@app/views/' . $this->module->id . '/' . $this->id; |
|
36 | + return '@app/views/'.$this->module->id.'/'.$this->id; |
|
37 | 37 | } elseif (is_array($this->module->viewMap)) { |
38 | - $currentAction = $this->id . '/' . ($this->action ? $this->action->id : $this->defaultAction); |
|
38 | + $currentAction = $this->id.'/'.($this->action ? $this->action->id : $this->defaultAction); |
|
39 | 39 | foreach ($this->module->viewMap as $action => $viewPath) { |
40 | 40 | |
41 | 41 | // Special case for map all views of controller |
42 | 42 | if ($action === '*') { |
43 | - return $viewPath . '/' . $this->id; |
|
43 | + return $viewPath.'/'.$this->id; |
|
44 | 44 | } elseif (fnmatch($action, $currentAction)) { |
45 | 45 | return $viewPath; |
46 | 46 | } |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | return true; |
97 | 97 | } |
98 | 98 | |
99 | - return ($value == (string)(float) $value); |
|
99 | + return ($value == (string) (float) $value); |
|
100 | 100 | } |
101 | 101 | |
102 | 102 | /** |
@@ -208,9 +208,9 @@ discard block |
||
208 | 208 | |
209 | 209 | // string before |
210 | 210 | $before = (count($left) > $length) ? $affix.implode("", array_slice($left, -$length)) : implode("", $left); |
211 | - $after = (count($right) > $length) ? implode("", array_slice($right, 0, $length)) . $affix : implode("", $right); |
|
211 | + $after = (count($right) > $length) ? implode("", array_slice($right, 0, $length)).$affix : implode("", $right); |
|
212 | 212 | |
213 | - return $before . $word . $after; |
|
213 | + return $before.$word.$after; |
|
214 | 214 | } |
215 | 215 | |
216 | 216 | /** |