@@ -174,6 +174,7 @@ discard block |
||
174 | 174 | /** |
175 | 175 | * Generates a Markdown link to the given Descriptor or returns the link text if no route to the Descriptor could |
176 | 176 | * be matched. |
177 | + * @param string $description |
|
177 | 178 | */ |
178 | 179 | private function resolveElement(DescriptorAbstract $element, string $link, ?string $description = null) : string |
179 | 180 | { |
@@ -222,7 +223,7 @@ discard block |
||
222 | 223 | /** |
223 | 224 | * Generates a Markdown-formatted string representing a link with a description. |
224 | 225 | * |
225 | - * @param Fqsen|string $link |
|
226 | + * @param string|null $link |
|
226 | 227 | */ |
227 | 228 | private function generateMarkdownLink($link, string $description) : string |
228 | 229 | { |
@@ -192,6 +192,9 @@ |
||
192 | 192 | return $graph; |
193 | 193 | } |
194 | 194 | |
195 | + /** |
|
196 | + * @param null|GraphVizGraph $graph |
|
197 | + */ |
|
195 | 198 | private function createEmptyNode(string $name, ?GraphVizGraph $graph) : ?Node |
196 | 199 | { |
197 | 200 | if ($graph === null) { |
@@ -62,6 +62,7 @@ |
||
62 | 62 | * Registers the structure and transformation with this extension. |
63 | 63 | * |
64 | 64 | * @param ProjectDescriptor $project Represents the complete Abstract Syntax Tree. |
65 | + * @param LinkRenderer $routeRenderer |
|
65 | 66 | */ |
66 | 67 | public function __construct( |
67 | 68 | ProjectDescriptor $project, |
@@ -19,7 +19,7 @@ |
||
19 | 19 | final class PipelineFactory |
20 | 20 | { |
21 | 21 | /** |
22 | - * @param iterable<callable> $stages |
|
22 | + * @param \Closure[] $stages |
|
23 | 23 | */ |
24 | 24 | public static function create(iterable $stages) : PipelineInterface |
25 | 25 | { |
@@ -258,7 +258,7 @@ |
||
258 | 258 | /** |
259 | 259 | * Sets a new parameter in the collection. |
260 | 260 | * |
261 | - * @param string|int $key |
|
261 | + * @param string $key |
|
262 | 262 | */ |
263 | 263 | public function setParameter($key, Parameter $value) : void |
264 | 264 | { |
@@ -22,6 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | /** |
24 | 24 | * Sets the types that this constant may contain. |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function setTypes(Type $types) : void; |
27 | 28 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | |
37 | 38 | /** |
38 | 39 | * Sets the value representation for this constant. |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setValue(string $value) : void; |
41 | 43 |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | namespace phpDocumentor\Pipeline\Stage; |
15 | 15 | |
16 | -use phpDocumentor\Descriptor\Collection; |
|
17 | 16 | use phpDocumentor\Descriptor\Collection as PartialsCollection; |
18 | 17 | use phpDocumentor\Descriptor\GuideSetDescriptor; |
19 | 18 | use phpDocumentor\Descriptor\VersionDescriptor; |
@@ -34,10 +34,16 @@ |
||
34 | 34 | /** @return Collection<InterfaceDescriptor|Fqsen> */ |
35 | 35 | public function getInterfaces() : Collection; |
36 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
37 | 40 | public function setFinal(bool $final) : void; |
38 | 41 | |
39 | 42 | public function isFinal() : bool; |
40 | 43 | |
44 | + /** |
|
45 | + * @return void |
|
46 | + */ |
|
41 | 47 | public function setAbstract(bool $abstract) : void; |
42 | 48 | |
43 | 49 | public function isAbstract() : bool; |
@@ -26,6 +26,7 @@ |
||
26 | 26 | * Sets a list of errors on the associated element. |
27 | 27 | * |
28 | 28 | * @param Collection<Validation\Error> $errors |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setErrors(Collection $errors) : void; |
31 | 32 | } |