This is an error 404
There are `0` results
preferences:
148.27 ms | 1399 KiB | 7 Q<?hh
class X<T>{
public function m(T $a){}
}
function f(?int $one, @int $two, int $three) {}
echo "Testing getTypehintText() on f(): \n";
$r = new ReflectionFunction('f');
foreach ($r->getParameters() as $p) {
var_dump($p->getTypehintText());
echo "\n";
}
echo "Testing getTypehintText() on X::m(): \n";
$r = new ReflectionMethod('X::m');
foreach ($r->getParameters() as $p) {
var_dump($p->getTypehintText());
echo "\n";
}