@@ -225,6 +225,7 @@ discard block |
||
| 225 | 225 | * Find element in HTML Dom |
| 226 | 226 | * |
| 227 | 227 | * @param string $content - content to be searched through |
| 228 | + * @param integer $nth |
|
| 228 | 229 | * @return object |
| 229 | 230 | */ |
| 230 | 231 | private function find($content, $selector, $nth = null) |
@@ -350,6 +351,8 @@ discard block |
||
| 350 | 351 | * Check whether errors have been returned |
| 351 | 352 | * |
| 352 | 353 | * @param string $content - response body of a request |
| 354 | + * @param string $selector |
|
| 355 | + * @param string $function |
|
| 353 | 356 | * @return boolean - false if no element described by the selector exists |
| 354 | 357 | */ |
| 355 | 358 | private function checkErrors($content, $selector, $function = null) |
@@ -391,7 +394,6 @@ discard block |
||
| 391 | 394 | /** |
| 392 | 395 | * Checks value for the remaining() and getRemaing() functions |
| 393 | 396 | * |
| 394 | - * @param string $value - input value |
|
| 395 | 397 | * @return array - information about the retrieved information |
| 396 | 398 | * boolean 'found' - false if no valuable content (default: false) |
| 397 | 399 | * int 'remaining' - remaining amount of SMS (default: 0) |