<?php class Foo { public function bar(int $val) {} } $c = new ReflectionClass('Foo'); var_dump($c->getMethods()[0]->getParameters()[0]->getClass());
You have javascript disabled. You will not be able to edit any code.