@@ -88,6 +88,9 @@ |
||
| 88 | 88 | return $this->normaliseTypes(...$types); |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | + /** |
|
| 92 | + * @param string $definition |
|
| 93 | + */ |
|
| 91 | 94 | private function getCurrentReturnTypeFromDocblock($definition): ?ReflectionType |
| 92 | 95 | { |
| 93 | 96 | $DOCBLOCK_REGEX = '/@method ((?:(?:[\w?|\\\\<>])+(?:\[])?)+) current/'; |