@@ -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 @@ |
||
| 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 | |
@@ -53,8 +53,9 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function __call($method, $arguments) |
| 55 | 55 | { |
| 56 | - if ($this->_error) |
|
| 57 | - return $this->_error; |
|
| 56 | + if ($this->_error) { |
|
| 57 | + return $this->_error; |
|
| 58 | + } |
|
| 58 | 59 | return call_user_func_array([$this, $method], $arguments); |
| 59 | 60 | } |
| 60 | 61 | |
@@ -118,8 +119,9 @@ discard block |
||
| 118 | 119 | } |
| 119 | 120 | |
| 120 | 121 | $char_table = $char_table->next_sibling(); |
| 121 | - if ($char_table->tag == 'br' || $char_table->tag == 'a' || $char_table->tag == 'h2' || $char_table->tag == 'div') |
|
| 122 | - break; |
|
| 122 | + if ($char_table->tag == 'br' || $char_table->tag == 'a' || $char_table->tag == 'h2' || $char_table->tag == 'div') { |
|
| 123 | + break; |
|
| 124 | + } |
|
| 123 | 125 | $character_index++; |
| 124 | 126 | } |
| 125 | 127 | } |
@@ -250,8 +252,9 @@ discard block |
||
| 250 | 252 | $staff[$staff_index]['role'] = $this->getCharacterRole($staff_name_area); |
| 251 | 253 | |
| 252 | 254 | $staff_table = $staff_table->next_sibling(); |
| 253 | - if (!$staff_table) |
|
| 254 | - break; |
|
| 255 | + if (!$staff_table) { |
|
| 256 | + break; |
|
| 257 | + } |
|
| 255 | 258 | $staff_index++; |
| 256 | 259 | } |
| 257 | 260 | } |
@@ -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 @@ |
||
| 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 | |