Update MethodDefinitionCollectorInterface.php

This commit is contained in:
黄朝晖 2019-08-02 16:32:55 +08:00 committed by GitHub
parent ec92e9e544
commit 954b5b0922
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,16 +16,12 @@ interface MethodDefinitionCollectorInterface
{
/**
* Retrieve the metadata for the parameters of the method.
* @param string $class
* @param string $method
* @return ReflectionType[]
*/
public function getParameters(string $class, string $method): array;
/**
* Retrieve the metadata for the return value of the method.
* @param string $class
* @param string $method
* @return ReflectionType
*/
public function getReturnType(string $class, string $method): ReflectionType;