Completed
Push — develop ( a98fd2...49ed8e )
by Jaap
09:10
created
src/phpDocumentor/Transformer/Command/Project/TransformCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
      *
324 324
      * @param InputInterface $input
325 325
      *
326
-     * @return HelperInterface|null
326
+     * @return null|\Symfony\Component\Console\Helper\ProgressHelper
327 327
      */
328 328
     protected function getProgressBar(InputInterface $input)
329 329
     {
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
@@ -198,6 +198,9 @@
 block discarded – undo
198 198
         return $collection;
199 199
     }
200 200
 
201
+    /**
202
+     * @param string $presentation
203
+     */
201 204
     protected function renderLink($path, $presentation)
202 205
     {
203 206
         $url  = false;
Please login to merge, or discard this patch.
src/phpDocumentor/Translator/Translator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      *
185 185
      * @param string $message    The message or code to translate.
186 186
      * @param string $textDomain A message may be located in a domain, here you can provide in which.
187
-     * @param null   $locale     The locale to translate to or the default if not set.
187
+     * @param string   $locale     The locale to translate to or the default if not set.
188 188
      *
189 189
      * @return string
190 190
      */
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/ArgumentAssemblerTest.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param $name
93
-     * @param $type
92
+     * @param string $name
93
+     * @param string $type
94 94
      * @return m\MockInterface
95 95
      */
96 96
     protected function givenAnArgumentReflectorWithNameAndType($name, $type)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @param $expected
108
+     * @param string[] $expected
109 109
      * @return Collection
110 110
      */
111 111
     protected function thenProjectBuilderShouldSetCollectionOfExpectedTypes($expected)
@@ -114,6 +114,10 @@  discard block
 block discarded – undo
114 114
         $this->builderMock->shouldReceive('buildDescriptor')
115 115
             ->with(
116 116
                 m::on(
117
+
118
+                    /**
119
+                     * @param string[] $value
120
+                     */
117 121
                     function ($value) use ($expected) {
118 122
                         return $value instanceof Collection && $value->getArrayCopy() == $expected;
119 123
                     }
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/ClassAssemblerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Create a ClassReflector mock
65 65
      *
66
-     * @return MockInterface
66
+     * @return m\MockInterface
67 67
      */
68 68
     protected function getClassReflectorDescriptor()
69 69
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/ConstantAssemblerTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 namespace phpDocumentor\Descriptor\Builder\Reflector;
14 14
 
15 15
 use phpDocumentor\Reflection\DocBlock;
16
-
17 16
 use Mockery as m;
18 17
 
19 18
 /**
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
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 
15 15
 use phpDocumentor\Reflection\DocBlock;
16 16
 use phpDocumentor\Descriptor\Collection;
17
-
18 17
 use Mockery as m;
19 18
 
20 19
 /**
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Parser/FileTest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     }
177 177
 
178 178
     /**
179
-     * @param $forced
179
+     * @param boolean $forced
180 180
      */
181 181
     protected function initializeParserWithDefaultVariables($forced)
182 182
     {
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
     }
262 262
 
263 263
     /**
264
-     * @param $fileDescriptor
264
+     * @param FileDescriptor $fileDescriptor
265 265
      */
266 266
     protected function whenFileDescriptorContainsErrors($fileDescriptor)
267 267
     {
Please login to merge, or discard this patch.
tests/unit/phpDocumentor/Plugin/Core/ServiceProviderTest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -67,6 +67,8 @@
 block discarded – undo
67 67
     /**
68 68
      * Creates and returns a mock of the Service Locator (application).
69 69
      *
70
+     * @param m\MockInterface $mockCollection
71
+     * @param m\MockInterface $mockLogger
70 72
      * @return m\MockInterface
71 73
      */
72 74
     private function givenAnApplication($mockCollection, $mockLogger)
Please login to merge, or discard this patch.