Completed
Pull Request — master (#2293)
by
unknown
07:16
created
src/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTags.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,6 +174,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Writer/Graph/GraphVizClassDiagram.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -192,6 +192,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Writer/Twig/Extension.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/phpDocumentor/Pipeline/PipelineFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Template.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Interfaces/ConstantInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/phpDocumentor/Pipeline/Stage/InitializeBuilderFromConfig.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Interfaces/ClassInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -34,10 +34,16 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/Filter/Filterable.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.