blob: 9eca301e1ef6a8ead8a05c506e22d4244ea18eb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 998a115360e9713c5d2da959dcde3ff49dc1a4fc Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Sat, 24 Aug 2019 07:37:17 +0200
Subject: [PATCH] fix #177 build with recent 7.4 changes
---
src/class.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/class.c b/src/class.c
index fd1e195..1973545 100644
--- a/src/class.c
+++ b/src/class.c
@@ -173,7 +173,7 @@ zend_bool uopz_extend(zend_class_entry *clazz, zend_class_entry *parent) {
clazz->ce_flags &= ~ZEND_ACC_TRAIT;
parent->ce_flags &= ~ZEND_ACC_TRAIT;
}
- zend_do_link_class(clazz, parent);
+ zend_do_inheritance(clazz, parent);
if (is_trait) {
clazz->ce_flags |= ZEND_ACC_TRAIT;
parent->ce_flags |= ZEND_ACC_TRAIT;
|