fix previous 40/head
authorRemi Collet <remi@remirepo.net>
Fri, 11 Jun 2021 08:15:56 +0000 (10:15 +0200)
committerRemi Collet <remi@remirepo.net>
Fri, 11 Jun 2021 08:15:56 +0000 (10:15 +0200)
src/php_pq_misc.c

index 9e622b41339aed2cf9ea5ec8da14f0468e7a07ef..70f32da7bcbfac48dd70612c97e74a86ecf9b29b 100644 (file)
@@ -133,10 +133,10 @@ zend_class_entry *php_pqdt_class_entry;
 
 #if PHP_VERSION_ID >= 80100
 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(ai_pqdt_jsonserialize, 0, 0, IS_MIXED, 0)
+ZEND_END_ARG_INFO()
 #else
 #define ai_pqdt_jsonserialize ai_pqdt_to_string
 #endif
-ZEND_END_ARG_INFO()
 
 ZEND_BEGIN_ARG_INFO_EX(ai_pqdt_to_string, 0, 0, 0)
 ZEND_END_ARG_INFO();