summaryrefslogtreecommitdiff
path: root/ext/dom/documentfragment.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/documentfragment.stub.php')
-rw-r--r--ext/dom/documentfragment.stub.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/dom/documentfragment.stub.php b/ext/dom/documentfragment.stub.php
new file mode 100644
index 0000000000..dc40beea49
--- /dev/null
+++ b/ext/dom/documentfragment.stub.php
@@ -0,0 +1,15 @@
+<?php
+
+class DOMDocumentFragment implements DOMParentNode
+{
+ public function __construct() {}
+
+ /** @return bool */
+ public function appendXML(string $data) {}
+
+ /** @var ...DOMNode|string $nodes */
+ public function append(...$nodes): void {}
+
+ /** @var ...DOMNode|string $nodes */
+ public function prepend(...$nodes): void {}
+}