@@ -299,7 +299,7 @@ |
||
299 | 299 | } |
300 | 300 | |
301 | 301 | /** |
302 | - * @param iterable<Type> $value |
|
302 | + * @param Type[] $value |
|
303 | 303 | * |
304 | 304 | * @return list<string> |
305 | 305 | */ |
@@ -122,7 +122,7 @@ |
||
122 | 122 | * |
123 | 123 | * @param string|Fqsen|Type|Collection<mixed>|array<mixed>|Descriptor $item |
124 | 124 | * |
125 | - * @return string|DescriptorAbstract|Collection<string|DescriptorAbstract>|array<string|DescriptorAbstract>|null |
|
125 | + * @return string |
|
126 | 126 | */ |
127 | 127 | public function substitute($item, ?DescriptorAbstract $container = null) |
128 | 128 | { |
@@ -62,6 +62,9 @@ |
||
62 | 62 | return $this->parent; |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param null|string $default |
|
67 | + */ |
|
65 | 68 | public function setDefault(?string $default) : void |
66 | 69 | { |
67 | 70 | $this->default = $default; |
@@ -28,6 +28,4 @@ |
||
28 | 28 | And here is another inline \Project\Other\Level\Issue2425C::bar() tag to a class |
29 | 29 | aliased via a use statement. |
30 | 30 | DESCRIPTION, |
31 | - $classDescriptor->getDescription()); |
|
32 | - } |
|
33 | -} |
|
31 | + $classDescriptor->getDescription |
|
34 | 32 | \ No newline at end of file |
@@ -28,6 +28,4 @@ |
||
28 | 28 | And here is another inline \Project\Other\Level\Issue2425C::bar() tag to a class |
29 | 29 | aliased via a use statement. |
30 | 30 | DESCRIPTION, |
31 | - $classDescriptor->getDescription()); |
|
32 | - } |
|
33 | -} |
|
31 | + $classDescriptor->getDescription |
|
34 | 32 | \ No newline at end of file |
@@ -27,16 +27,19 @@ discard block |
||
27 | 27 | { |
28 | 28 | /** |
29 | 29 | * Sets the Fully Qualified Structural Element Name (FQSEN) for this element. |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setFullyQualifiedStructuralElementName(Fqsen $name) : void; |
32 | 33 | |
33 | 34 | /** |
34 | 35 | * Returns the Fully Qualified Structural Element Name (FQSEN) for this element. |
36 | + * @return Fqsen |
|
35 | 37 | */ |
36 | 38 | public function getFullyQualifiedStructuralElementName() : ?Fqsen; |
37 | 39 | |
38 | 40 | /** |
39 | 41 | * Sets the local name for this element. |
42 | + * @return void |
|
40 | 43 | */ |
41 | 44 | public function setName(string $name) : void; |
42 | 45 | |
@@ -47,6 +50,7 @@ discard block |
||
47 | 50 | |
48 | 51 | /** |
49 | 52 | * Sets a summary describing this element. |
53 | + * @return void |
|
50 | 54 | */ |
51 | 55 | public function setSummary(string $summary) : void; |
52 | 56 | |
@@ -57,6 +61,7 @@ discard block |
||
57 | 61 | |
58 | 62 | /** |
59 | 63 | * Sets a longer description for this element. |
64 | + * @return void |
|
60 | 65 | */ |
61 | 66 | public function setDescription(DescriptionDescriptor $description) : void; |
62 | 67 | |
@@ -67,6 +72,7 @@ discard block |
||
67 | 72 | |
68 | 73 | /** |
69 | 74 | * Sets the file and location for this element. |
75 | + * @return void |
|
70 | 76 | */ |
71 | 77 | public function setLocation(FileDescriptor $file, int $line = 0) : void; |
72 | 78 |
@@ -37,6 +37,7 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * Initializes the tag by setting the name and errors, |
40 | + * @param DescriptionDescriptor $description |
|
40 | 41 | */ |
41 | 42 | public function __construct(string $name, ?DescriptionDescriptor $description = null) |
42 | 43 | { |
@@ -11,7 +11,7 @@ |
||
11 | 11 | * |
12 | 12 | * {@internal Dev note old-style, double closing brace.}} |
13 | 13 | * |
14 | - * @return bool |
|
14 | + * @return boolean|null |
|
15 | 15 | */ |
16 | 16 | function inlineInternal() {} |
17 | 17 | } |
@@ -649,6 +649,9 @@ |
||
649 | 649 | return true; |
650 | 650 | } |
651 | 651 | |
652 | + /** |
|
653 | + * @param string|null $line |
|
654 | + */ |
|
652 | 655 | private function parseListLine(?string $line, bool $flush = false) : bool |
653 | 656 | { |
654 | 657 | if ($line !== null && trim($line) !== '') { |
@@ -68,6 +68,7 @@ |
||
68 | 68 | } |
69 | 69 | |
70 | 70 | /** |
71 | + * @param \Closure $function |
|
71 | 72 | * @return Node[] |
72 | 73 | */ |
73 | 74 | public function getNodes(?callable $function = null) : array |