@@ -206,7 +206,6 @@ |
||
| 206 | 206 | /** |
| 207 | 207 | * Remove a tag from this DocBlock. |
| 208 | 208 | * |
| 209 | - * @param Tag $tag The tag to remove. |
|
| 210 | 209 | * |
| 211 | 210 | */ |
| 212 | 211 | public function removeTag(Tag $tagToRemove) |
@@ -43,6 +43,9 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | private $lineCount; |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param integer|null $lineCount |
|
| 48 | + */ |
|
| 46 | 49 | public function __construct(string $filePath, bool $isURI, int $startingLine, $lineCount, $description) |
| 47 | 50 | { |
| 48 | 51 | Assert::notEmpty($filePath); |
@@ -102,6 +102,10 @@ discard block |
||
| 102 | 102 | ); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | + /** |
|
| 106 | + * @param integer $tagName |
|
| 107 | + * @param string $handler |
|
| 108 | + */ |
|
| 105 | 109 | public function registerTagHandler($tagName, $handler) |
| 106 | 110 | { |
| 107 | 111 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -252,6 +256,9 @@ discard block |
||
| 252 | 256 | return $result; |
| 253 | 257 | } |
| 254 | 258 | |
| 259 | + /** |
|
| 260 | + * @param string $tags |
|
| 261 | + */ |
|
| 255 | 262 | private function filterTagBlock($tags): ?string |
| 256 | 263 | { |
| 257 | 264 | $tags = trim($tags); |