From bb5be650c6aa6ab33629b944ff6abc8564120ec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Tue, 12 Jul 2022 10:35:03 +0200 Subject: [PATCH] Require zend_constants.stub.php from zend_exceptions.stubs.php Because E_ERROR is referenced in this file --- Zend/zend_exceptions.stub.php | 2 ++ Zend/zend_exceptions_arginfo.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Zend/zend_exceptions.stub.php b/Zend/zend_exceptions.stub.php index 2deab702092..84109b021a7 100644 --- a/Zend/zend_exceptions.stub.php +++ b/Zend/zend_exceptions.stub.php @@ -2,6 +2,8 @@ /** @generate-class-entries */ +require "zend_constants.stub.php"; + interface Throwable extends Stringable { public function getMessage(): string; diff --git a/Zend/zend_exceptions_arginfo.h b/Zend/zend_exceptions_arginfo.h index 0ab80681496..58538905a6a 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: bee3fd13c5d5a6d09e217452998389d1b595157a */ + * Stub hash: 4cf2c620393f468968a219b5bd12a2b5f6b03ecc */ ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Throwable_getMessage, 0, 0, IS_STRING, 0) ZEND_END_ARG_INFO()