@@ -219,6 +219,9 @@ |
||
| 219 | 219 | return $arguments; |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | + /** |
|
| 223 | + * @return string |
|
| 224 | + */ |
|
| 222 | 225 | private static function stripRestArg($argument) |
| 223 | 226 | { |
| 224 | 227 | if (strpos($argument, '...') === 0) { |
@@ -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); |