summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 10:41:10 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-20 19:41:47 +0200
commite950ca13ea2e8f012ded007ac1251eea01269542 (patch)
tree3c22f2303d1d0ec2edf7e2fa1f1a495c7b2ae9e9 /ext/reflection/php_reflection.c
parentc0f8cc1904106753fcb8cc4ecfef0cf154479ad9 (diff)
downloadphp-git-e950ca13ea2e8f012ded007ac1251eea01269542.tar.gz
Consolidate the usage of "either" and "one of" in error messages
Closes GH-6173
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 292e1901e4..470b52e6c7 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -2320,7 +2320,7 @@ ZEND_METHOD(ReflectionParameter, __construct)
break;
default:
- zend_argument_error(reflection_exception_ptr, 1, "must be either a string, an array(class, method) or a callable object, %s given", zend_zval_type_name(reference));
+ zend_argument_error(reflection_exception_ptr, 1, "must be a string, an array(class, method), or a callable object, %s given", zend_zval_type_name(reference));
RETURN_THROWS();
}