@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | // add localizations |
34 | - App::$Translate->append(App::$Alias->currentViewPath . '/I18n/' . App::$Request->getLanguage() . '.php'); |
|
34 | + App::$Translate->append(App::$Alias->currentViewPath.'/I18n/'.App::$Request->getLanguage().'.php'); |
|
35 | 35 | |
36 | 36 | parent::__construct(); |
37 | 37 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | // check if disabled (0 = enabled, anything else = on) |
57 | - return (int)$this->application->disabled === 0; |
|
57 | + return (int) $this->application->disabled === 0; |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
@@ -66,10 +66,10 @@ discard block |
||
66 | 66 | if ($this->configs !== null) { |
67 | 67 | return $this->configs; |
68 | 68 | } |
69 | - $configs = (array)unserialize($this->application->configs); // data always stored like a "string" objects |
|
69 | + $configs = (array) unserialize($this->application->configs); // data always stored like a "string" objects |
|
70 | 70 | foreach ($configs as $cfg => $value) { |
71 | 71 | if (Obj::isLikeInt($value)) { |
72 | - $configs[$cfg] = (int)$value; // convert string 1 "1" to int 1 1 |
|
72 | + $configs[$cfg] = (int) $value; // convert string 1 "1" to int 1 1 |
|
73 | 73 | } |
74 | 74 | } |
75 | 75 | $this->configs = $configs; |