summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
diff options
context:
space:
mode:
authorLevi Morrison <levim@php.net>2015-10-20 10:50:13 -0600
committerJulien Pauli <jpauli@php.net>2015-12-24 15:19:31 +0100
commit2a7eeff33e6b798c0b36a0a0e52fbf8c3197f4e9 (patch)
treefac05d895c05a9f7459b50c52ba8b7b7db777404 /Zend/zend_inheritance.c
parent8182f0ff2a95fe1f6382dc9a74c48585aec46493 (diff)
downloadphp-git-2a7eeff33e6b798c0b36a0a0e52fbf8c3197f4e9.tar.gz
Remove mentions of "type hint" and "typehint"
Diffstat (limited to 'Zend/zend_inheritance.c')
-rw-r--r--Zend/zend_inheritance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index 73b67f5216..6f897ab3cd 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -170,7 +170,7 @@ char *zend_visibility_string(uint32_t fn_flags) /* {{{ */
static int zend_do_perform_type_hint_check(const zend_function *fe, zend_arg_info *fe_arg_info, const zend_function *proto, zend_arg_info *proto_arg_info) /* {{{ */
{
if (ZEND_LOG_XOR(fe_arg_info->class_name, proto_arg_info->class_name)) {
- /* Only one has a type hint and the other one doesn't */
+ /* Only one has a type declaration and the other one doesn't */
return 0;
}
@@ -239,7 +239,7 @@ static int zend_do_perform_type_hint_check(const zend_function *fe, zend_arg_inf
}
if (fe_arg_info->type_hint != proto_arg_info->type_hint) {
- /* Incompatible type hint */
+ /* Incompatible type */
return 0;
}