Completed
Push — master ( 071c16...b9f390 )
by Mike
03:33
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.
unit/phpDocumentor/Descriptor/Builder/Reflector/FunctionAssemblerTest.php 1 patch
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.
tests/features/bootstrap/Ast/ApiContext.php 1 patch
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.
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.
unit/phpDocumentor/Descriptor/Builder/Reflector/PropertyAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
unit/phpDocumentor/Descriptor/Builder/Reflector/MethodAssemblerTest.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -88,6 +88,7 @@
 block discarded – undo
88 88
 
89 89
     /**
90 90
      * Generates a DocBlock object with applicable defaults for these tests.
91
+     * @param boolean $withTags
91 92
      */
92 93
     protected function givenADocBlockObject($withTags): DocBlock
93 94
     {
Please login to merge, or discard this patch.
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.
tests/unit/phpDocumentor/Configuration/ConfigurationFactoryTest.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         new ConfigurationFactory(['this_is_not_a_strategy'], []);
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $content
121
+     */
119 122
     private function givenExampleConfigurationFileWithContent($content): string
120 123
     {
121 124
         vfsStream::newFile('foo.xml')
@@ -125,6 +128,10 @@  discard block
 block discarded – undo
125 128
         return vfsStream::url('dir/foo.xml');
126 129
     }
127 130
 
131
+    /**
132
+     * @param string[] $expectedInputValue
133
+     * @param string[] $returnValue
134
+     */
128 135
     private function givenAMiddlewareThatReturns($expectedInputValue, $returnValue): \Closure
129 136
     {
130 137
         return function ($value) use ($expectedInputValue, $returnValue) {
@@ -134,6 +141,9 @@  discard block
 block discarded – undo
134 141
         };
135 142
     }
136 143
 
144
+    /**
145
+     * @param string[] $result
146
+     */
137 147
     private function givenAValidStrategyThatReturns($result): Strategy
138 148
     {
139 149
         /** @var m\Mock $strategy */
Please login to merge, or discard this patch.