@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * Return the getter/isser method if any valid one exists |
| 67 | 67 | * @param mixed $source |
| 68 | 68 | * @param string $name |
| 69 | - * @return string |
|
| 69 | + * @return ReflectionMethod|null |
|
| 70 | 70 | */ |
| 71 | 71 | private function getGetter($source, string $name): ?ReflectionMethod |
| 72 | 72 | { |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | * Serializes an internal value to include in a response. |
| 40 | 40 | * |
| 41 | 41 | * @param mixed $value |
| 42 | - * @return mixed |
|
| 42 | + * @return string |
|
| 43 | 43 | */ |
| 44 | 44 | public function serialize($value) |
| 45 | 45 | { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Get the description of a method from the doc block |
| 27 | - * @param ReflectionMethod $method |
|
| 28 | 27 | * @return null|string |
| 29 | 28 | */ |
| 30 | 29 | public function getMethodDescription(): ?string |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * All its types will be converted from string to real instance of Type |
| 50 | 50 | * |
| 51 | 51 | * @param ReflectionMethod $method |
| 52 | - * @param Field $field |
|
| 52 | + * @param Input $field |
|
| 53 | 53 | */ |
| 54 | 54 | private function convertTypeDeclarationsToInstances(ReflectionMethod $method, Input $field): void |
| 55 | 55 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * Complete field with info from doc blocks and type hints |
| 61 | 61 | * @param ReflectionMethod $method |
| 62 | 62 | * @param ReflectionParameter $param |
| 63 | - * @param Field $field |
|
| 63 | + * @param Input $field |
|
| 64 | 64 | */ |
| 65 | 65 | private function completeField(ReflectionMethod $method, ReflectionParameter $param, Input $field): void |
| 66 | 66 | { |