summaryrefslogtreecommitdiff
path: root/ext/dom/php_dom.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dom/php_dom.stub.php')
-rw-r--r--ext/dom/php_dom.stub.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php
index 2a9a9cff80..72c63883fc 100644
--- a/ext/dom/php_dom.stub.php
+++ b/ext/dom/php_dom.stub.php
@@ -1,6 +1,6 @@
<?php
-/** @generate-function-entries */
+/** @generate-class-entries */
class DOMDocumentType extends DOMNode
{
@@ -360,6 +360,8 @@ class DOMDocument extends DOMNode implements DOMParentNode
final class DOMException extends Exception
{
+ /** @var int */
+ public $code = 0;
}
class DOMText extends DOMCharacterData