summaryrefslogtreecommitdiff
path: root/ext/reflection/tests
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@php.net>2009-09-03 14:02:51 +0000
committerSebastian Bergmann <sebastian@php.net>2009-09-03 14:02:51 +0000
commitd9eeb2e6e659486ab9d2d15b720714b1ef5503dd (patch)
treeabb97f4b8efcf5030544a15ce689d40c988ca73c /ext/reflection/tests
parent1b7cad9a28f535372197fd834128c703e544f0bd (diff)
downloadphp-git-d9eeb2e6e659486ab9d2d15b720714b1ef5503dd.tar.gz
Make invokeArgs() error messages consistent with invoke().
Diffstat (limited to 'ext/reflection/tests')
-rw-r--r--ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt b/ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt
index 834f35d668..f39dd46819 100644
--- a/ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt
+++ b/ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt
@@ -111,9 +111,9 @@ NULL
NULL
Private method:
-string(84) "Trying to invoke private method TestClass::privateMethod from scope ReflectionMethod"
+string(86) "Trying to invoke private method TestClass::privateMethod() from scope ReflectionMethod"
Abstract method:
-string(51) "Trying to invoke abstract method AbstractClass::foo"
+string(53) "Trying to invoke abstract method AbstractClass::foo()"
Warning: ReflectionMethod::invokeArgs() expects exactly 2 parameters, 1 given in %s on line %d