diff options
| author | Remi Collet <remi@remirepo.net> | 2021-06-09 07:50:19 +0200 | 
|---|---|---|
| committer | Remi Collet <remi@remirepo.net> | 2021-06-09 07:50:19 +0200 | 
| commit | d5c3ef5ba89525bcacbd639930674db08b004508 (patch) | |
| tree | a2113dedce52f5955d2673985d5891ddb3eff297 | |
| parent | cc284ad08eff3a8f80e65159aab779505716ab37 (diff) | |
better
| -rw-r--r-- | protobuf-php81.patch | 4 | 
1 files changed, 2 insertions, 2 deletions
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  | 
