@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace phpDocumentor\Reflection\DocBlock\Tags; |
14 | 14 | |
15 | 15 | use phpDocumentor\Reflection\DocBlock\Description; |
16 | -use phpDocumentor\Reflection\DocBlock\Tag; |
|
17 | 16 | use Webmozart\Assert\Assert; |
18 | 17 | |
19 | 18 | /** |
@@ -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); |
@@ -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); |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @return array[] |
|
171 | + * @return string[] |
|
172 | 172 | */ |
173 | 173 | public function getArguments() |
174 | 174 | { |
@@ -227,6 +227,9 @@ discard block |
||
227 | 227 | return $arguments; |
228 | 228 | } |
229 | 229 | |
230 | + /** |
|
231 | + * @return string |
|
232 | + */ |
|
230 | 233 | private static function stripRestArg($argument) |
231 | 234 | { |
232 | 235 | if (strpos($argument, '...') === 0) { |