summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/reflection/tests/ReflectionMethod_invoke_error1.phpt')
-rw-r--r--ext/reflection/tests/ReflectionMethod_invoke_error1.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt b/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
index 4fa86eb363..8788370b2f 100644
--- a/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
@@ -57,9 +57,9 @@ try {
}
?>
---EXPECTF--
+--EXPECT--
invoke() on a non-object:
-string(71) "ReflectionMethod::invoke() expects parameter 1 to be object, bool given"
+string(89) "ReflectionMethod::invoke() expects argument #1 ($object) to be of type object, bool given"
invoke() on a non-instance:
string(72) "Given object is not an instance of the class this method was declared in"