@@ -52,8 +52,9 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | public function __call($method, $arguments) |
| 54 | 54 | { |
| 55 | - if ($this->_error) |
|
| 56 | - return $this->_error; |
|
| 55 | + if ($this->_error) { |
|
| 56 | + return $this->_error; |
|
| 57 | + } |
|
| 57 | 58 | return call_user_func_array([$this, $method], $arguments); |
| 58 | 59 | } |
| 59 | 60 | |
@@ -52,8 +52,9 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function __call($method, $arguments) |
| 54 | 54 | { |
| 55 | - if ($this->_error) |
|
| 56 | - return $this->_error; |
|
| 55 | + if ($this->_error) { |
|
| 56 | + return $this->_error; |
|
| 57 | + } |
|
| 57 | 58 | return call_user_func_array([$this, $method], $arguments); |
| 58 | 59 | } |
| 59 | 60 | |
@@ -151,8 +152,9 @@ discard block |
||
| 151 | 152 | $user_area = $this->_parser->find('.table-recently-updated', 0); |
| 152 | 153 | if ($user_area) { |
| 153 | 154 | foreach ($user_area->find('tr') as $each_user) { |
| 154 | - if (!$each_user->find('td', 0)->find('div', 0)) |
|
| 155 | - continue; |
|
| 155 | + if (!$each_user->find('td', 0)->find('div', 0)) { |
|
| 156 | + continue; |
|
| 157 | + } |
|
| 156 | 158 | |
| 157 | 159 | $temp_user = []; |
| 158 | 160 | |
@@ -52,8 +52,9 @@ |
||
| 52 | 52 | */ |
| 53 | 53 | public function __call($method, $arguments) |
| 54 | 54 | { |
| 55 | - if ($this->_error) |
|
| 56 | - return $this->_error; |
|
| 55 | + if ($this->_error) { |
|
| 56 | + return $this->_error; |
|
| 57 | + } |
|
| 57 | 58 | return call_user_func_array([$this, $method], $arguments); |
| 58 | 59 | } |
| 59 | 60 | |