@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | * |
| 16 | 16 | * @var string |
| 17 | 17 | */ |
| 18 | - private $_user; |
|
| 18 | + private $_user; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Default constructor. |
@@ -25,11 +25,11 @@ discard block |
||
| 25 | 25 | * |
| 26 | 26 | * @return void |
| 27 | 27 | */ |
| 28 | - public function __construct($user, $parserArea = '#content') |
|
| 28 | + public function __construct($user, $parserArea = '#content') |
|
| 29 | 29 | { |
| 30 | - $this->_user = $user; |
|
| 30 | + $this->_user = $user; |
|
| 31 | 31 | $this->_url = $this->_myAnimeListUrl.'/profile/'.$user; |
| 32 | - $this->_parserArea = $parserArea; |
|
| 32 | + $this->_parserArea = $parserArea; |
|
| 33 | 33 | |
| 34 | 34 | parent::errorCheck($this); |
| 35 | 35 | } |
@@ -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 | |