@@ -51,7 +51,6 @@ |
||
51 | 51 | * interface is passed as alias then every time that interface is requested the provided service will be returned. |
52 | 52 | * |
53 | 53 | * @param object $service |
54 | - * @param string $alias |
|
55 | 54 | * |
56 | 55 | * @return void |
57 | 56 | */ |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -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) { |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -43,6 +43,9 @@ |
||
43 | 43 | /** @var string The version vector. */ |
44 | 44 | private $version = ''; |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $version |
|
48 | + */ |
|
46 | 49 | public function __construct($version = null, Description $description = null) |
47 | 50 | { |
48 | 51 | Assert::nullOrStringNotEmpty($version); |
@@ -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); |
@@ -31,6 +31,10 @@ |
||
31 | 31 | /** @var int|null The number of lines, relative to the starting line. NULL means "to the end". */ |
32 | 32 | private $lineCount = null; |
33 | 33 | |
34 | + /** |
|
35 | + * @param integer $startingLine |
|
36 | + * @param integer $lineCount |
|
37 | + */ |
|
34 | 38 | public function __construct($startingLine, $lineCount = null, Description $description = null) |
35 | 39 | { |
36 | 40 | Assert::integerish($startingLine); |
@@ -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) |
@@ -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); |