summaryrefslogtreecommitdiff
path: root/ext/reflection/tests/ReflectionMethod_basic2.phpt
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-10-03 20:45:29 +0000
committerFelipe Pena <felipe@php.net>2009-10-03 20:45:29 +0000
commit8172c388b095e1579bf53098ae57ccab02a92319 (patch)
tree21d7801e94a29e36a47cb7c103336f07ec0d14cf /ext/reflection/tests/ReflectionMethod_basic2.phpt
parentf86cde26fb9afe134f50266fbe0fcbf1c3b297eb (diff)
downloadphp-git-8172c388b095e1579bf53098ae57ccab02a92319.tar.gz
- Fix some arginfos (thanks Philip)
- Added arginfo info. for void params
Diffstat (limited to 'ext/reflection/tests/ReflectionMethod_basic2.phpt')
-rw-r--r--ext/reflection/tests/ReflectionMethod_basic2.phpt10
1 files changed, 6 insertions, 4 deletions
diff --git a/ext/reflection/tests/ReflectionMethod_basic2.phpt b/ext/reflection/tests/ReflectionMethod_basic2.phpt
index 1e21c427e4..e2c23c1c15 100644
--- a/ext/reflection/tests/ReflectionMethod_basic2.phpt
+++ b/ext/reflection/tests/ReflectionMethod_basic2.phpt
@@ -152,8 +152,9 @@ Reflecting on method ReflectionProperty::__construct()
__toString():
string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
- - Parameters [1] {
- Parameter #0 [ <required> $argument ]
+ - Parameters [2] {
+ Parameter #0 [ <optional> $class ]
+ Parameter #1 [ <optional> $name ]
}
}
"
@@ -161,8 +162,9 @@ string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
export():
string(%d) "Method [ <internal:Reflection, ctor> public method __construct ] {
- - Parameters [1] {
- Parameter #0 [ <required> $argument ]
+ - Parameters [2] {
+ Parameter #0 [ <optional> $class ]
+ Parameter #1 [ <optional> $name ]
}
}
"