@@ -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); |
@@ -104,6 +104,10 @@ discard block |
||
104 | 104 | ); |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param integer $tagName |
|
109 | + * @param string $handler |
|
110 | + */ |
|
107 | 111 | public function registerTagHandler($tagName, $handler) |
108 | 112 | { |
109 | 113 | $this->tagFactory->registerTagHandler($tagName, $handler); |
@@ -255,7 +259,7 @@ discard block |
||
255 | 259 | } |
256 | 260 | |
257 | 261 | /** |
258 | - * @param $tags |
|
262 | + * @param string $tags |
|
259 | 263 | * @return string |
260 | 264 | */ |
261 | 265 | private function filterTagBlock($tags) |
@@ -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 | /** |
@@ -42,6 +42,11 @@ |
||
42 | 42 | */ |
43 | 43 | private $lineCount; |
44 | 44 | |
45 | + /** |
|
46 | + * @param boolean $isURI |
|
47 | + * @param integer $startingLine |
|
48 | + * @param integer|null $lineCount |
|
49 | + */ |
|
45 | 50 | public function __construct($filePath, $isURI, $startingLine, $lineCount, $description) |
46 | 51 | { |
47 | 52 | Assert::notEmpty($filePath); |
@@ -221,7 +221,6 @@ |
||
221 | 221 | /** |
222 | 222 | * Remove a tag from this DocBlock. |
223 | 223 | * |
224 | - * @param Tag $tag The tag to remove. |
|
225 | 224 | * |
226 | 225 | * @return void |
227 | 226 | */ |
@@ -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); |