Skip to content

Commit cc7dc2b

Browse files
committed
Fix typehint in docblock
1 parent f4cdeff commit cc7dc2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/DOMQuery.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1216,8 +1216,8 @@ public function xhtml($markup = null)
12161216
* In getter mode, the first element wrapped by this DOMNode object will be
12171217
* converted to an XML string and returned.
12181218
*
1219-
* @param string|null $markup
1220-
* A string containing XML data.
1219+
* @param string|true|null $markup
1220+
* A string containing XML data. If true is passed, the XML declaration will be omitted.
12211221
*
12221222
* @return DOMQuery|string|null
12231223
* If markup is passed in, a DOMQuery is returned. If no markup is passed

0 commit comments

Comments
 (0)