Could something like this be achieved? ```php /** * @template O of object * @psalm-param O $object * @psalm-param method-name<O> $method */ function invoke($object, $method) { $object->$method(); } ```