File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ $r = new ReflectionMethod($f, '__invoke');
7
7
var_dump ($ r ->getParameters ()[0 ]->getClass ());
8
8
?>
9
9
--EXPECTF--
10
- Deprecated: Method ReflectionParameter::getClass() is deprecated, use ReflectionParameter::getType() instead in %s on line %d
10
+ Deprecated: Method ReflectionParameter::getClass() is deprecated since 8.0 , use ReflectionParameter::getType() instead in %s on line %d
11
11
object(ReflectionClass)#4 (1) {
12
12
["name"]=>
13
13
string(11) "Traversable"
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ var_dump($rc->getParameters()[0]->isCallable());
21
21
22
22
?>
23
23
--EXPECTF--
24
- Deprecated: Method ReflectionParameter::isCallable() is deprecated, use ReflectionParameter::getType() instead in %s on line %d
24
+ Deprecated: Method ReflectionParameter::isCallable() is deprecated since 8.0 , use ReflectionParameter::getType() instead in %s on line %d
25
25
bool(true)
26
26
27
- Deprecated: Method ReflectionParameter::isCallable() is deprecated, use ReflectionParameter::getType() instead in %s on line %d
27
+ Deprecated: Method ReflectionParameter::isCallable() is deprecated since 8.0 , use ReflectionParameter::getType() instead in %s on line %d
28
28
bool(true)
29
29
30
- Deprecated: Method ReflectionParameter::isCallable() is deprecated, use ReflectionParameter::getType() instead in %s on line %d
30
+ Deprecated: Method ReflectionParameter::isCallable() is deprecated since 8.0 , use ReflectionParameter::getType() instead in %s on line %d
31
31
bool(true)
You can’t perform that action at this time.
0 commit comments