Completed
Push — develop ( 0cc20e...dccdc9 )
by Mike
07:04
created
src/phpDocumentor/Descriptor/ClassDescriptor.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * {@inheritDoc}
91
+     * @param boolean $final
91 92
      */
92 93
     public function setFinal($final)
93 94
     {
@@ -104,6 +105,7 @@  discard block
 block discarded – undo
104 105
 
105 106
     /**
106 107
      * {@inheritDoc}
108
+     * @param boolean $abstract
107 109
      */
108 110
     public function setAbstract($abstract)
109 111
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/InterfaceDescriptor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -133,6 +133,9 @@
 block discarded – undo
133 133
         return $inheritedMethods;
134 134
     }
135 135
 
136
+    /**
137
+     * @param string $package
138
+     */
136 139
     public function setPackage($package)
137 140
     {
138 141
         parent::setPackage($package);
Please login to merge, or discard this patch.
phpDocumentor/Descriptor/Builder/Reflector/Tags/ExampleAssemblerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
     /**
75 75
      * Returns a mock Example tag that will return example data (as provided in the class constants) when asked to.
76 76
      *
77
-     * @return m\MockInterface
77
+     * @return Example
78 78
      */
79 79
     private function givenExampleTagWithTestData()
80 80
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/Tags/SeeAssemblerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -85,6 +85,9 @@
 block discarded – undo
85 85
         $this->assertSame([], $descriptor->getErrors()->getAll());
86 86
     }
87 87
 
88
+    /**
89
+     * @param string $description
90
+     */
88 91
     protected function givenASeeTag($reference, $description)
89 92
     {
90 93
         return new DocBlock\Tags\See(
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/Tags/UsesAssemblerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@
 block discarded – undo
63 63
         $this->assertSame([], $descriptor->getErrors()->getAll());
64 64
     }
65 65
 
66
+    /**
67
+     * @param string $description
68
+     * @param string $reference
69
+     */
66 70
     protected function givenAUsesTag($description, $reference)
67 71
     {
68 72
         return new Uses(
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/FunctionAssemblerTest.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
      * @param string $namespace
103 103
      * @param string $functionName
104 104
      * @param Argument $argumentMock
105
-     * @param DocBlock|m\MockInterface $docBlockMock
105
+     * @param DocBlock $docBlockMock
106 106
      *
107 107
      * @return Function_
108 108
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 use phpDocumentor\Reflection\Fqsen;
22 22
 use phpDocumentor\Reflection\Php\Argument;
23 23
 use phpDocumentor\Reflection\Php\Function_;
24
-use phpDocumentor\Reflection\Types\Mixed_;
25 24
 
26 25
 class FunctionAssemblerTest extends \Mockery\Adapter\Phpunit\MockeryTestCase
27 26
 {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Compiler/Pass/ResolveInlineLinkAndSeeTagsTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     /**
218 218
      * Returns a collection with descriptor. This collection will be scanned to see if a link can be made to a file.
219 219
      *
220
-     * @param DescriptorAbstract|m\MockInterface $descriptor
220
+     * @param m\MockInterface $descriptor
221 221
      *
222 222
      * @return Collection|m\MockInterface
223 223
      */
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      * @param m\MockInterface $descriptor
252 252
      * @param DescriptorAbstract $elementToLinkTo
253 253
      *
254
-     * @return DescriptorAbstract
254
+     * @return m\MockInterface
255 255
      */
256 256
     private function whenDescriptionContainsSeeOrLinkWithElement($descriptor, $elementToLinkTo)
257 257
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Transformer/Router/Renderer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -196,6 +196,9 @@
 block discarded – undo
196 196
         return $collection;
197 197
     }
198 198
 
199
+    /**
200
+     * @param string $presentation
201
+     */
199 202
     protected function renderLink($path, $presentation)
200 203
     {
201 204
         $url = false;
Please login to merge, or discard this patch.
tests/features/bootstrap/Ast/ApiContext.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -189,6 +189,7 @@  discard block
 block discarded – undo
189 189
      * @param string $classFqsen
190 190
      * @param string $tagName
191 191
      * @param string $methodName
192
+     * @param integer $expectedCount
192 193
      * @Then class ":classFqsen" has a method named :method with exactly :expected tag :tagName
193 194
      */
194 195
     public function classHasMethodWithExpectedCountTag($classFqsen, $tagName, $methodName, $expectedCount)
@@ -439,6 +440,8 @@  discard block
 block discarded – undo
439 440
 
440 441
     /**
441 442
      * @throws Exception
443
+     * @param string $classFqsen
444
+     * @param string $methodName
442 445
      */
443 446
     private function findMagicMethodResponse($classFqsen, $methodName): ReturnDescriptor
444 447
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@  discard block
 block discarded – undo
13 13
 namespace phpDocumentor\Behat\Contexts\Ast;
14 14
 
15 15
 use Behat\Behat\Context\Context;
16
-use Behat\Behat\Tester\Exception\PendingException;
17 16
 use Behat\Gherkin\Node\PyStringNode;
18 17
 use phpDocumentor\Descriptor\ArgumentDescriptor;
19 18
 use phpDocumentor\Descriptor\ClassDescriptor;
@@ -28,7 +27,6 @@  discard block
 block discarded – undo
28 27
 use phpDocumentor\Descriptor\Tag\ReturnDescriptor;
29 28
 use phpDocumentor\Descriptor\Tag\VersionDescriptor;
30 29
 use phpDocumentor\Descriptor\TraitDescriptor;
31
-use phpDocumentor\Reflection\Php\File;
32 30
 use Webmozart\Assert\Assert;
33 31
 
34 32
 class ApiContext extends BaseContext implements Context
Please login to merge, or discard this patch.