@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | * Finds the next token using stop characters. |
460 | 460 | * |
461 | 461 | * Used like: next_search('abc') or next_search(array('a' => true, 'b' => true, 'c' => true)); |
462 | - * @param string|array $characters Characters to search for |
|
462 | + * @param string $characters Characters to search for |
|
463 | 463 | * @param bool $callback Should the function check the charmap after finding a character? |
464 | 464 | * @return int Next token ({@link TOK_NULL} if none) |
465 | 465 | */ |
@@ -538,7 +538,7 @@ discard block |
||
538 | 538 | * @param string|int $token Character or token to expect |
539 | 539 | * @param bool|int $do_next Go to next character before evaluating. 1 for next char, true to ignore whitespace |
540 | 540 | * @param bool|int $try_next Try next character if current doesn't match. 1 for next char, true to ignore whitespace |
541 | - * @param bool|int $next_on_match Go to next character after evaluating. 1 for next char, true to ignore whitespace |
|
541 | + * @param integer $next_on_match Go to next character after evaluating. 1 for next char, true to ignore whitespace |
|
542 | 542 | * @return bool |
543 | 543 | */ |
544 | 544 | protected function expect($token, $do_next = true, $try_next = false, $next_on_match = 1) { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Returns HTML DOM from file/website |
26 | - * @param string $str |
|
27 | 26 | * @param bool $return_root Return root node or return parser object |
28 | 27 | * @param bool $use_include_path Use include path search in file_get_contents |
29 | 28 | * @param resource $context Context resource used in file_get_contents (PHP >= 5.0.0) |