@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * If a relative QSEN is provided then this method will attempt to resolve it given the current namespace and |
172 | 172 | * namespace aliases. |
173 | 173 | * |
174 | - * @param Fqsen|string $link |
|
174 | + * @param string|null $link |
|
175 | 175 | * @return Fqsen|string |
176 | 176 | */ |
177 | 177 | private function resolveQsen($link) |
@@ -188,6 +188,7 @@ discard block |
||
188 | 188 | * be matched. |
189 | 189 | * |
190 | 190 | * @param Fqsen|string $link |
191 | + * @param string $description |
|
191 | 192 | */ |
192 | 193 | private function resolveElement(DescriptorAbstract $element, $link, ?string $description = null): string |
193 | 194 | { |
@@ -247,7 +248,7 @@ discard block |
||
247 | 248 | /** |
248 | 249 | * Generates a Markdown-formatted string representing a link with a description. |
249 | 250 | * |
250 | - * @param Fqsen|string $link |
|
251 | + * @param string|null $link |
|
251 | 252 | */ |
252 | 253 | private function generateMarkdownLink($link, string $description): string |
253 | 254 | { |
@@ -241,7 +241,7 @@ |
||
241 | 241 | * @param DescriptorAbstract|ProjectDescriptor $node |
242 | 242 | * @throws InvalidArgumentException if no artifact is provided and no routing rule matches. |
243 | 243 | * @throws UnexpectedValueException if the provided node does not contain anything. |
244 | - * @return string|bool returns the destination location or false if generation should be aborted. |
|
244 | + * @return false|string returns the destination location or false if generation should be aborted. |
|
245 | 245 | */ |
246 | 246 | protected function getDestinationPath($node, Transformation $transformation) |
247 | 247 | { |