Completed
Pull Request — develop (#2000)
by Chuck
05:41
created
src/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTags.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Twig/Writer/Twig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.