Skip to content

Commit fea10b5

Browse files
committed
Fixed #150.
1 parent 5adacd1 commit fea10b5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/qp_functions.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@
146146
* A CSS 3 selector.
147147
* @param array $options
148148
* An associative array of options. Currently supported options are listed above.
149-
* @return QueryPath
149+
* @return \QueryPath\DOMQuery
150+
* Or possibly another QueryPath-like object if you overrode QueryPath_class.
150151
*/
151152
function qp($document = NULL, $string = NULL, $options = array()) {
152153
return QueryPath::with($document, $string, $options);
@@ -208,7 +209,7 @@ function htmlqp($document = NULL, $selector = NULL, $options = array()) {
208209
* that the standard QueryPath options may be ignored for this function,
209210
* since it uses a different parser.
210211
*
211-
* @return QueryPath
212+
* @return \QueryPath\DOMQuery
212213
*/
213214
function html5qp($document = NULL, $selector = NULL, $options = array()) {
214215
return QueryPath::withHTML5($document, $selector, $options);

0 commit comments

Comments
 (0)