com php-src: remove todo: Zend/zend_API.c
| From: | Bob Weinand | Date: | Mon, 07 Mar 2016 14:29:26 +0000 |
| Subject: | com php-src: remove todo: Zend/zend_API.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95614@lists.php.net to get a copy of this message | ||
Commit: 861287a33db4c737f0833a81797dcac781b1b011
Author: Joe Watkins <krakjoe@php.net> Mon, 7 Mar 2016 14:29:26 +0000
Parents: c156399618a0137aec1e2049e62ac9fe8e0962fc
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=861287a33db4c737f0833a81797dcac781b1b011
Log:
remove todo
Changed paths:
M Zend/zend_API.c
Diff:
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 66d9cab..5350aba 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -3623,7 +3623,6 @@ ZEND_API int zend_declare_typed_property(zend_class_entry *ce, zend_string
*name
}
if (optional_type) {
- /* TODO(krakjoe) not sure about exceptions in [no active file] */
if (optional_type == IS_OBJECT) {
if (Z_TYPE_P(property) != IS_UNDEF) {
zend_string *type_name = optional_type_name;