diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-01-13 17:06:26 +0100 |
---|---|---|
committer | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-03-02 15:25:32 +0100 |
commit | 9e775db02567d3b90694ebb43f0225875a48e8c9 (patch) | |
tree | cd25ebdb5e735ca322eded189b156619a4b43534 /Zend/zend_exceptions_arginfo.h | |
parent | c06850b9fa1b6dc8f4f8a46d6d0ea55e8baf7cbf (diff) | |
download | php-git-9e775db02567d3b90694ebb43f0225875a48e8c9.tar.gz |
Define Stringable with __toString():string method
Diffstat (limited to 'Zend/zend_exceptions_arginfo.h')
-rw-r--r-- | Zend/zend_exceptions_arginfo.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Zend/zend_exceptions_arginfo.h b/Zend/zend_exceptions_arginfo.h index c2f83e47e5..93badb6652 100644 --- a/Zend/zend_exceptions_arginfo.h +++ b/Zend/zend_exceptions_arginfo.h @@ -15,8 +15,6 @@ ZEND_END_ARG_INFO() #define arginfo_class_Throwable_getTraceAsString arginfo_class_Throwable_getMessage -#define arginfo_class_Throwable___toString arginfo_class_Throwable_getMessage - #define arginfo_class_Exception___clone arginfo_class_Throwable_getMessage ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Exception___construct, 0, 0, 0) @@ -41,7 +39,8 @@ ZEND_END_ARG_INFO() #define arginfo_class_Exception_getTraceAsString arginfo_class_Throwable_getMessage -#define arginfo_class_Exception___toString arginfo_class_Throwable_getMessage +ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_class_Exception___toString, 0, 0, IS_STRING, 0) +ZEND_END_ARG_INFO() ZEND_BEGIN_ARG_INFO_EX(arginfo_class_ErrorException___construct, 0, 0, 0) ZEND_ARG_TYPE_INFO(0, message, IS_STRING, 0) |