mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 12:47:55 +08:00
Update MethodDefinitionCollectorInterface.php
This commit is contained in:
parent
ec92e9e544
commit
954b5b0922
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user