<?php class Foo { function poop (self $a): self { } } $refMethod = new ReflectionMethod('Foo', 'poop'); $refParam = $refMethod->getParameters()[0]; print_r(array( 'paramType' => $refParam->getType()->getName(), 'returnType' => $refMethod->getReturnType()->getName(), ));
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`