summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_constructor_error2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionMethod_constructor_error2.phpt')
-rw-r--r--ext/reflection/tests/ReflectionMethod_constructor_error2.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_constructor_error2.phpt b/ext/reflection/tests/ReflectionMethod_constructor_error2.phpt
index 0b02fb651c..2a8b30bf03 100644
--- a/ext/reflection/tests/ReflectionMethod_constructor_error2.phpt
+++ b/ext/reflection/tests/ReflectionMethod_constructor_error2.phpt
@@ -52,10 +52,10 @@ try{
?>
--EXPECT--
Too few arguments:
-Ok - ReflectionMethod::__construct() expects exactly 1 parameter, 0 given
+Ok - ReflectionMethod::__construct() expects exactly 1 argument, 0 given
Too many arguments:
-Ok - ReflectionMethod::__construct() expects exactly 1 parameter, 3 given
+Ok - ReflectionMethod::__construct() expects exactly 1 argument, 3 given
Ok - Class "InvalidClassName" does not exist
Ok - ReflectionMethod::__construct(): Argument #1 ($objectOrMethod) must be of type object|string, array given
-Ok - ReflectionMethod::__construct() expects exactly 1 parameter, 2 given
+Ok - ReflectionMethod::__construct() expects exactly 1 argument, 2 given