@@ -148,7 +148,7 @@ |
||
| 148 | 148 | static $cfg; |
| 149 | 149 | if (empty($cfg)) { |
| 150 | 150 | $cfg[0] = & load_configurations(); |
| 151 | - if(! is_array($cfg[0])){ |
|
| 151 | + if (!is_array($cfg[0])) { |
|
| 152 | 152 | $cfg[0] = array(); |
| 153 | 153 | } |
| 154 | 154 | } |
@@ -343,7 +343,7 @@ |
||
| 343 | 343 | * Get some parameters data need like ip address, hostname, browser info, etc. |
| 344 | 344 | * @return array |
| 345 | 345 | */ |
| 346 | - protected function getSessionDataParams(){ |
|
| 346 | + protected function getSessionDataParams() { |
|
| 347 | 347 | $this->getLoader()->functions('user_agent'); |
| 348 | 348 | $this->getLoader()->library('Browser'); |
| 349 | 349 | |
@@ -174,7 +174,7 @@ |
||
| 174 | 174 | } |
| 175 | 175 | //only test for original event may be during the flow some listeners change this parameter |
| 176 | 176 | if ($eBackup->returnBack) { |
| 177 | - if(! $error) { |
|
| 177 | + if (!$error) { |
|
| 178 | 178 | return $event; |
| 179 | 179 | } |
| 180 | 180 | return null; |