Completed
Push — develop ( bd0ea7...cbc256 )
by Mike
08:51
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.
src/phpDocumentor/Plugin/Core/Transformer/Writer/Xsl.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 use phpDocumentor\Transformer\Event\PreXslWriterEvent;
20 20
 use phpDocumentor\Transformer\Router\ForFileProxy;
21 21
 use phpDocumentor\Transformer\Router\Queue;
22
-use phpDocumentor\Transformer\Transformation;
23 22
 use phpDocumentor\Transformer\Transformation as TransformationObject;
24 23
 use phpDocumentor\Transformer\Writer\Exception\RequirementMissing;
25 24
 use phpDocumentor\Transformer\Writer\Routable;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@
 block discarded – undo
304 304
     }
305 305
 
306 306
     /**
307
-     * @return bool|string
307
+     * @return string|false
308 308
      */
309 309
     private function generateUrlForXmlElement(ProjectDescriptor $project, \DOMElement $element)
310 310
     {
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.
tests/unit/phpDocumentor/Plugin/Core/Xslt/ExtensionTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -175,6 +175,9 @@  discard block
 block discarded – undo
175 175
         $this->assertSame('documented', $result);
176 176
     }
177 177
 
178
+    /**
179
+     * @param m\MockInterface $elementList
180
+     */
178 181
     private function givenAProjectDescriptorBuilder($elementList)
179 182
     {
180 183
         $projectDescriptor = m::mock('\phpDocumentor\Descriptor\ProjectDescriptor');
@@ -184,6 +187,9 @@  discard block
 block discarded – undo
184 187
         return $projectDescriptorBuilder;
185 188
     }
186 189
 
190
+    /**
191
+     * @param m\MockInterface|null $rule
192
+     */
187 193
     private function givenARouter($rule)
188 194
     {
189 195
         $queue = m::mock('phpDocumentor\Transformer\Router\Queue');
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.