@@ -60,7 +60,6 @@ discard block |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * [post description] |
63 | - * @param [type] $params [description] |
|
64 | 63 | * @return [type] [description] |
65 | 64 | */ |
66 | 65 | public function post(array $fields) |
@@ -73,7 +72,7 @@ discard block |
||
73 | 72 | |
74 | 73 | /** |
75 | 74 | * Set option in cURL |
76 | - * @param mix $option |
|
75 | + * @param integer $option |
|
77 | 76 | * @param mix $value |
78 | 77 | */ |
79 | 78 | public function option($option, $value) |
@@ -11,13 +11,13 @@ discard block |
||
11 | 11 | |
12 | 12 | /** |
13 | 13 | * [search description] |
14 | - * @return [type] [description] |
|
14 | + * @return string [description] |
|
15 | 15 | */ |
16 | 16 | public function getCaptcha(); |
17 | 17 | |
18 | 18 | /** |
19 | 19 | * [cookie description] |
20 | - * @return [type] [description] |
|
20 | + * @return string [description] |
|
21 | 21 | */ |
22 | 22 | public function getCookie(); |
23 | 23 | |
@@ -30,6 +30,8 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * [getData description] |
32 | 32 | * @param [type] $configurations [description] |
33 | + * @param string $cookie |
|
34 | + * @param string $captcha |
|
33 | 35 | * @return [type] [description] |
34 | 36 | */ |
35 | 37 | public function getData($document, $cookie, $captcha, $params, $configurations); |
@@ -10,13 +10,13 @@ |
||
10 | 10 | |
11 | 11 | /** |
12 | 12 | * [search description] |
13 | - * @return [type] [description] |
|
13 | + * @return string [description] |
|
14 | 14 | */ |
15 | 15 | public function captcha(); |
16 | 16 | |
17 | 17 | /** |
18 | 18 | * [cookie description] |
19 | - * @return [type] [description] |
|
19 | + * @return string [description] |
|
20 | 20 | */ |
21 | 21 | public function cookie(); |
22 | 22 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Verifica antes de fazer o crawler se possui erros |
34 | 34 | * na requisição |
35 | - * @return boolean |
|
35 | + * @return boolean|null |
|
36 | 36 | */ |
37 | 37 | public function hasError() |
38 | 38 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * Verifica antes de fazer o crawler se possui erros |
34 | 34 | * na requisição |
35 | - * @return boolean |
|
35 | + * @return boolean|null |
|
36 | 36 | */ |
37 | 37 | public function hasError() |
38 | 38 | { |