summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionMethod_invoke_basic.phpt')
-rw-r--r--ext/reflection/tests/ReflectionMethod_invoke_basic.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt b/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
index 73c04a687b..92bd054338 100644
--- a/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
@@ -102,7 +102,7 @@ Called methodWithArgs(1, arg2)
NULL
Static method:
-ReflectionMethod::invoke() expects at least 1 parameter, 0 given
+ReflectionMethod::invoke() expects at least 1 argument, 0 given
ReflectionMethod::invoke(): Argument #1 ($object) must be of type ?object, bool given
Called staticMethod()
Exception: Using $this when not in object context