summaryrefslogtreecommitdiff
path: root/ext/libxml/libxml.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libxml/libxml.stub.php')
-rw-r--r--ext/libxml/libxml.stub.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/ext/libxml/libxml.stub.php b/ext/libxml/libxml.stub.php
index 12685bd8ce..b20d681b96 100644
--- a/ext/libxml/libxml.stub.php
+++ b/ext/libxml/libxml.stub.php
@@ -1,6 +1,19 @@
<?php
-/** @generate-function-entries */
+/**
+ * @generate-function-entries
+ * @generate-class-entries
+ */
+
+class LibXMLError
+{
+ public int $level;
+ public int $code;
+ public int $column;
+ public string $message;
+ public string $file;
+ public int $line;
+}
/** @param resource $context */
function libxml_set_streams_context($context): void {}