com php-src: woops: Zend/zend_inheritance.c
| From: | Bob Weinand | Date: | Fri, 11 Mar 2016 10:11:58 +0000 |
| Subject: | com php-src: woops: Zend/zend_inheritance.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95685@lists.php.net to get a copy of this message | ||
Commit: 113dc9df1a0de610b8a84db1397195a426c61d23
Author: Joe Watkins <krakjoe@php.net> Fri, 11 Mar 2016 10:11:58 +0000
Parents: 7ed980ea7b49c41dc2d7331f686df806110fc6d9
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=113dc9df1a0de610b8a84db1397195a426c61d23
Log:
woops
Changed paths:
M Zend/zend_inheritance.c
Diff:
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index da70ce4..5086720 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -1635,8 +1635,9 @@ static void zend_do_traits_property_binding(zend_class_entry *ce) /* {{{ */
doc_comment = property_info->doc_comment ? zend_string_copy(property_info->doc_comment) :
NULL;
if (property_info->type) {
zend_declare_typed_property(ce, prop_name, prop_value, flags, doc_comment,
property_info->type, property_info->type_name);
- } else zend_declare_property_ex(ce, prop_name, prop_value, flags, doc_comment);
-
+ } else {
+ zend_declare_property_ex(ce, prop_name, prop_value, flags, doc_comment);
+ }
zend_string_release(prop_name);
} ZEND_HASH_FOREACH_END();
}