Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function __construct($user, $type, $status, $parserArea = '#content') |
||
45 | { |
||
46 | $this->_user = $user; |
||
47 | $this->_type = $type; |
||
48 | $this->_status = $status; |
||
49 | $this->_url = $this->_myAnimeListUrl.'/'.$type.'list/'.$user.'?status='.$status; |
||
50 | $this->_parserArea = $parserArea; |
||
51 | |||
52 | parent::errorCheck($this); |
||
53 | } |
||
106 |
If the size of the collection does not change during the iteration, it is generally a good practice to compute it beforehand, and not on each iteration: