From d5c3ef5ba89525bcacbd639930674db08b004508 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 9 Jun 2021 07:50:19 +0200 Subject: better --- protobuf-php81.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protobuf-php81.patch') diff --git a/protobuf-php81.patch b/protobuf-php81.patch index 716d33d..9e12fb3 100644 --- a/protobuf-php81.patch +++ b/protobuf-php81.patch @@ -16,7 +16,7 @@ index 765e90297c..7060f7ed91 100644 repeated_field_methods); RepeatedField_class_entry = zend_register_internal_class(&tmp_ce); -+#if PHP_VERSION_ID < 80100 ++#if PHP_VERSION_ID < 70200 zend_class_implements(RepeatedField_class_entry, 3, spl_ce_ArrayAccess, zend_ce_aggregate, spl_ce_Countable); +#else @@ -34,7 +34,7 @@ index f5890d99e4..158d0bfd51 100644 MapField_methods); MapField_class_entry = zend_register_internal_class(&tmp_ce); -+#if PHP_VERSION_ID < 80000 ++#if PHP_VERSION_ID < 70200 zend_class_implements(MapField_class_entry, 3, spl_ce_ArrayAccess, zend_ce_aggregate, spl_ce_Countable); +#else -- cgit