Completed
Push — develop ( ffe009...9d0b73 )
by Mike
09:33
created
phpDocumentor/Plugin/LegacyNamespaceConverter/LegacyNamespaceFilterTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
     /**
156 156
      * Creates a mocked Descriptor.
157 157
      *
158
-     * @return m\MockInterface|DescriptorAbstract
158
+     * @return DescriptorAbstract
159 159
      */
160 160
     private function createDescriptorMock()
161 161
     {
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.
unit/phpDocumentor/Application/Console/Command/Template/ListCommandTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      *
50 50
      * @param string[] $templateNames
51 51
      *
52
-     * @return m\MockInterface|Factory
52
+     * @return Factory
53 53
      */
54 54
     private function givenAFactoryWithTemplateNames(array $templateNames)
55 55
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Descriptor/ProjectDescriptorBuilder.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use phpDocumentor\Descriptor\Filter\Filter;
17 17
 use phpDocumentor\Descriptor\Filter\Filterable;
18 18
 use phpDocumentor\Descriptor\ProjectDescriptor\Settings;
19
-use phpDocumentor\Descriptor\Validator\Error;
20 19
 use phpDocumentor\Reflection\Php\Project;
21 20
 use phpDocumentor\Translator\Translator;
22 21
 use Psr\Log\LogLevel;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
      *
193 193
      * @param DescriptorAbstract $descriptor
194 194
      *
195
-     * @return DescriptorAbstract|null
195
+     * @return null|Filterable
196 196
      */
197 197
     protected function filterDescriptor($descriptor)
198 198
     {
Please login to merge, or discard this patch.
src/phpDocumentor/Plugin/Scrybe/Command/Manual/ToLatexCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      * from the Input object.
69 69
      *
70 70
      * @see BaseConvertCommand::getConverter() for the basic functionality.
71
-     * @return phpDocumentor\Plugin\Scrybe\Converter\ConverterInterface
71
+     * @return ToLatexInterface
72 72
      */
73 73
     protected function getConverter(InputInterface $input)
74 74
     {
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   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use phpDocumentor\Descriptor\Tag\ReturnDescriptor;
28 28
 use phpDocumentor\Descriptor\Tag\VersionDescriptor;
29 29
 use phpDocumentor\Descriptor\TraitDescriptor;
30
-use phpDocumentor\Reflection\Php\File;
31 30
 use Webmozart\Assert\Assert;
32 31
 
33 32
 class ApiContext extends BaseContext implements Context
Please login to merge, or discard this patch.
tests/ReferenceImplementation.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@  discard block
 block discarded – undo
163 163
     {
164 164
         const INTERFACE_CONSTANT = 'test';
165 165
 
166
+        /**
167
+         * @return SubInterface|null
168
+         */
166 169
         public function publicMethod();
167 170
     }
168 171
 
@@ -172,6 +175,10 @@  discard block
 block discarded – undo
172 175
      */
173 176
     interface AnotherSuperInterface
174 177
     {
178
+
179
+        /**
180
+         * @return void
181
+         */
175 182
         public static function staticMethod();
176 183
     }
177 184
 }
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Descriptor/Builder/Reflector/FileAssemblerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use Mockery as m;
17 17
 use phpDocumentor\Descriptor\Collection;
18 18
 use phpDocumentor\Descriptor\PackageDescriptor;
19
-
20 19
 use phpDocumentor\Reflection\DocBlock;
21 20
 use phpDocumentor\Reflection\Php\File;
22 21
 
Please login to merge, or discard this patch.