@@ -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); |
@@ -43,6 +43,7 @@ discard block |
||
| 43 | 43 | * @param DocBlock\Tag[] $tags |
| 44 | 44 | * @param Types\Context $context The context in which the DocBlock occurs. |
| 45 | 45 | * @param Location $location The location within the file that this DocBlock occurs in. |
| 46 | + * @param DocBlock\Description $description |
|
| 46 | 47 | */ |
| 47 | 48 | public function __construct( |
| 48 | 49 | string $summary = '', |
@@ -188,7 +189,6 @@ discard block |
||
| 188 | 189 | /** |
| 189 | 190 | * Remove a tag from this DocBlock. |
| 190 | 191 | * |
| 191 | - * @param Tag $tag The tag to remove. |
|
| 192 | 192 | */ |
| 193 | 193 | public function removeTag(Tag $tagToRemove): void |
| 194 | 194 | { |
@@ -97,6 +97,10 @@ discard block |
||
| 97 | 97 | ); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | + /** |
|
| 101 | + * @param integer $tagName |
|
| 102 | + * @param string $handler |
|
| 103 | + */ |
|
| 100 | 104 | public function registerTagHandler($tagName, $handler): void |
| 101 | 105 | { |
| 102 | 106 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -243,6 +247,9 @@ discard block |
||
| 243 | 247 | return $result; |
| 244 | 248 | } |
| 245 | 249 | |
| 250 | + /** |
|
| 251 | + * @param string $tags |
|
| 252 | + */ |
|
| 246 | 253 | private function filterTagBlock($tags): ?string |
| 247 | 254 | { |
| 248 | 255 | $tags = trim($tags); |