diff --git a/Zend/zend_exceptions.stub.php b/Zend/zend_exceptions.stub.php index d2de356dee1..2deab702092 100644 --- a/Zend/zend_exceptions.stub.php +++ b/Zend/zend_exceptions.stub.php @@ -7,7 +7,7 @@ interface Throwable extends Stringable public function getMessage(): string; /** @return int */ - public function getCode(); + public function getCode(); // TODO add proper type (i.e. int|string) public function getFile(): string; @@ -32,7 +32,7 @@ class Exception implements Throwable * Intentionally left untyped for BC reasons * @var int */ - protected $code = 0; + protected $code = 0; // TODO add proper type (i.e. int|string) protected string $file = ""; protected int $line = 0; private array $trace = []; @@ -48,7 +48,7 @@ class Exception implements Throwable final public function getMessage(): string {} /** @return int */ - final public function getCode() {} + final public function getCode() {} // TODO add proper type (i.e. int|string) final public function getFile(): string {} @@ -91,7 +91,7 @@ class Error implements Throwable * Intentionally left untyped for BC reasons * @var int */ - protected $code = 0; + protected $code = 0; // TODO add proper type (i.e. int|string) protected string $file = ""; protected int $line; private array $trace = []; diff --git a/Zend/zend_exceptions_arginfo.h b/Zend/zend_exceptions_arginfo.h index 3ea0fc1afb5..0ab80681496 100644 --- a/Zend/zend_exceptions_arginfo.h +++ b/Zend/zend_exceptions_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 9d1c2027ebd14e621d9b5b79056ba7300a455be8 */ + * Stub hash: bee3fd13c5d5a6d09e217452998389d1b595157a */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Throwable_getMessage, 0, 0, IS_STRING, 0) ZEND_END_ARG_INFO() diff --git a/ext/dom/php_dom.stub.php b/ext/dom/php_dom.stub.php index f26518c0ba8..31170270b46 100644 --- a/ext/dom/php_dom.stub.php +++ b/ext/dom/php_dom.stub.php @@ -568,7 +568,7 @@ final class DOMException extends Exception * Intentionally left untyped for BC reasons * @var int */ - public $code = 0; + public $code = 0; // TODO add proper type (i.e. int|string) } class DOMText extends DOMCharacterData diff --git a/ext/dom/php_dom_arginfo.h b/ext/dom/php_dom_arginfo.h index 8c7faebbaba..76a50fd8036 100644 --- a/ext/dom/php_dom_arginfo.h +++ b/ext/dom/php_dom_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 74698bea9c5e0635cf91345e8512b9677489510c */ + * Stub hash: 875805a57dada3ba8aceaa54508589d994855f31 */ ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 0) ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0) diff --git a/ext/pdo/pdo.stub.php b/ext/pdo/pdo.stub.php index ebe81b7a51a..a2652060a05 100644 --- a/ext/pdo/pdo.stub.php +++ b/ext/pdo/pdo.stub.php @@ -5,7 +5,7 @@ class PDOException extends RuntimeException { /** @var int|string */ - protected $code = 0; + protected $code = 0; // TODO add proper type public ?array $errorInfo = null; } diff --git a/ext/pdo/pdo_arginfo.h b/ext/pdo/pdo_arginfo.h index 72eda0c3ae9..9f8a0c6cc20 100644 --- a/ext/pdo/pdo_arginfo.h +++ b/ext/pdo/pdo_arginfo.h @@ -1,5 +1,5 @@ /* This is a generated file, edit the .stub.php file instead. - * Stub hash: 8d975a20d009e827f8d72ac19b94b55870b6bf9c */ + * Stub hash: dc41dddeea1ae117c6f2f3447afb29bf6623b757 */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_pdo_drivers, 0, 0, IS_ARRAY, 0) ZEND_END_ARG_INFO()