diff options
Diffstat (limited to '4.patch')
-rw-r--r-- | 4.patch | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +From b87b859aa7546942f85e20c05e3aefa797868164 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Wed, 4 May 2022 16:22:00 +0200 +Subject: [PATCH] fix arginfo for 7.1 + +--- + excimer.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/excimer.c b/excimer.c +index ac7e12f..fec499a 100644 +--- a/excimer.c ++++ b/excimer.c +@@ -285,7 +285,11 @@ ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO(arginfo_ExcimerLog_formatCollapsed, 0) + ZEND_END_ARG_INFO() + ++#if PHP_VERSION_ID < 70200 ++ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_ExcimerLog_aggregateByFunction, IS_ARRAY, NULL, 0) ++#else + ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO(arginfo_ExcimerLog_aggregateByFunction, IS_ARRAY, 0) ++#endif + ZEND_END_ARG_INFO() + + ZEND_BEGIN_ARG_INFO(arginfo_ExcimerLog_getEventCount, 0) |