Skip to content

Commit ca6fcba

Browse files
committed
cleanup
1 parent ca5212b commit ca6fcba

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Zend/zend_compile.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,19 +1945,6 @@ void zend_do_function_return_hint(znode *return_hint TSRMLS_DC) {
19451945
} else {
19461946
CG(active_op_array)->return_hint.type = Z_TYPE(return_hint->u.constant);
19471947
}
1948-
} else {
1949-
if (CG(current_namespace)) {
1950-
tmp.op_type = IS_CONST;
1951-
tmp.u.constant = *CG(current_namespace);
1952-
zval_copy_ctor(&tmp.u.constant);
1953-
zend_do_build_namespace_name(&tmp, &tmp, return_hint TSRMLS_CC);
1954-
*return_hint = tmp;
1955-
}
1956-
1957-
CG(active_op_array)->return_hint.type = IS_OBJECT;
1958-
CG(active_op_array)->return_hint.class_name_len = Z_STRLEN(return_hint->u.constant);
1959-
CG(active_op_array)->return_hint.class_name = zend_new_interned_string
1960-
(Z_STRVAL(return_hint->u.constant), Z_STRLEN(return_hint->u.constant)+1, 1 TSRMLS_CC);
19611948
}
19621949
}
19631950
} /* }}} */

0 commit comments

Comments
 (0)