@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * |
16 | 16 | * @var string |
17 | 17 | */ |
18 | - private $_type; |
|
18 | + private $_type; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Default constructor. |
@@ -25,15 +25,15 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @return void |
27 | 27 | */ |
28 | - public function __construct($type, $parserArea = '.anime-manga-search .genre-link') |
|
28 | + public function __construct($type, $parserArea = '.anime-manga-search .genre-link') |
|
29 | 29 | { |
30 | - $this->_type = $type; |
|
30 | + $this->_type = $type; |
|
31 | 31 | if ($type == 'anime') { |
32 | 32 | $this->_url = $this->_myAnimeListUrl.'/anime.php'; |
33 | 33 | } else { |
34 | 34 | $this->_url = $this->_myAnimeListUrl.'/manga.php'; |
35 | 35 | } |
36 | - $this->_parserArea = $parserArea; |
|
36 | + $this->_parserArea = $parserArea; |
|
37 | 37 | |
38 | 38 | parent::errorCheck($this); |
39 | 39 | } |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | * |
23 | 23 | * @var string|int |
24 | 24 | */ |
25 | - private $_id; |
|
25 | + private $_id; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Default constructor. |
@@ -32,9 +32,9 @@ discard block |
||
32 | 32 | * |
33 | 33 | * @return void |
34 | 34 | */ |
35 | - public function __construct($type, $id, $parserArea = '#content table tr td') |
|
35 | + public function __construct($type, $id, $parserArea = '#content table tr td') |
|
36 | 36 | { |
37 | - $this->_type = $type; |
|
37 | + $this->_type = $type; |
|
38 | 38 | $this->_id = $id; |
39 | 39 | if ($this->_type == 'people') { |
40 | 40 | $this->_url = $this->_myAnimeListUrl.'/people/'.$id; |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | private function getId() |
80 | 80 | { |
81 | - return $this->_id; |
|
81 | + return $this->_id; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @var string|int |
31 | 31 | */ |
32 | - private $_id; |
|
32 | + private $_id; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * Page number. |
@@ -48,12 +48,12 @@ discard block |
||
48 | 48 | * |
49 | 49 | * @return void |
50 | 50 | */ |
51 | - public function __construct($type, $type2, $id, $page = 1, $parserArea = '#content .js-categories-seasonal') |
|
51 | + public function __construct($type, $type2, $id, $page = 1, $parserArea = '#content .js-categories-seasonal') |
|
52 | 52 | { |
53 | 53 | $this->_type = $type; |
54 | 54 | $this->_type2 = $type2; |
55 | 55 | $this->_id = $id; |
56 | - $this->_page = $page; |
|
56 | + $this->_page = $page; |
|
57 | 57 | |
58 | 58 | if ($type2 == 'producer') { |
59 | 59 | if ($type == 'anime') { |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | * |
16 | 16 | * @var string |
17 | 17 | */ |
18 | - private $_type; |
|
18 | + private $_type; |
|
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Search query. |
@@ -41,10 +41,10 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @return void |
43 | 43 | */ |
44 | - public function __construct($type, $query, $page, $parserArea = 'div[class^=js-categories-seasonal]') |
|
44 | + public function __construct($type, $query, $page, $parserArea = 'div[class^=js-categories-seasonal]') |
|
45 | 45 | { |
46 | 46 | $this->_type = $type; |
47 | - $this->_query = $query; |
|
47 | + $this->_query = $query; |
|
48 | 48 | $this->_page = 50 * ($page - 1); |
49 | 49 | |
50 | 50 | if ($type == 'anime') { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | } else { |
53 | 53 | $this->_url = $this->_myAnimeListUrl.'/manga.php?q='.$query.'&show='.$this->_page; |
54 | 54 | } |
55 | - $this->_parserArea = $parserArea; |
|
55 | + $this->_parserArea = $parserArea; |
|
56 | 56 | |
57 | 57 | parent::errorCheck($this); |
58 | 58 | } |