We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4cdeff commit cc7dc2bCopy full SHA for cc7dc2b
src/DOMQuery.php
@@ -1216,8 +1216,8 @@ public function xhtml($markup = null)
1216
* In getter mode, the first element wrapped by this DOMNode object will be
1217
* converted to an XML string and returned.
1218
*
1219
- * @param string|null $markup
1220
- * A string containing XML data.
+ * @param string|true|null $markup
+ * A string containing XML data. If true is passed, the XML declaration will be omitted.
1221
1222
* @return DOMQuery|string|null
1223
* If markup is passed in, a DOMQuery is returned. If no markup is passed
0 commit comments