@@ -104,6 +104,7 @@ |
||
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * {@inheritDoc} |
| 107 | + * @param TypeContext $context |
|
| 107 | 108 | */ |
| 108 | 109 | public function create(string $tagLine, ?TypeContext $context = null): ?Tag |
| 109 | 110 | { |
@@ -61,6 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * @param object|string $docblock A string containing the DocBlock to parse or an object supporting the |
| 63 | 63 | * getDocComment method (such as a ReflectionClass object). |
| 64 | + * @param Types\Context $context |
|
| 64 | 65 | */ |
| 65 | 66 | public function create($docblock, ?Types\Context $context = null, ?Location $location = null): DocBlock |
| 66 | 67 | { |
@@ -95,6 +96,10 @@ discard block |
||
| 95 | 96 | ); |
| 96 | 97 | } |
| 97 | 98 | |
| 99 | + /** |
|
| 100 | + * @param integer $tagName |
|
| 101 | + * @param string $handler |
|
| 102 | + */ |
|
| 98 | 103 | public function registerTagHandler($tagName, $handler): void |
| 99 | 104 | { |
| 100 | 105 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -241,6 +246,9 @@ discard block |
||
| 241 | 246 | return $result; |
| 242 | 247 | } |
| 243 | 248 | |
| 249 | + /** |
|
| 250 | + * @param string $tags |
|
| 251 | + */ |
|
| 244 | 252 | private function filterTagBlock($tags): ?string |
| 245 | 253 | { |
| 246 | 254 | $tags = trim($tags); |
@@ -63,6 +63,9 @@ |
||
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | 65 | * {@inheritdoc} |
| 66 | + * @param TypeResolver $typeResolver |
|
| 67 | + * @param \Mockery\MockInterface $descriptionFactory |
|
| 68 | + * @param TypeContext $context |
|
| 66 | 69 | */ |
| 67 | 70 | public static function create( |
| 68 | 71 | string $body, |