Completed
Push — develop ( 3a2f11...a89061 )
by Jaap
04:16
created
src/phpDocumentor/Descriptor/ArgumentDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      *
118 118
      * @param boolean $isVariadic
119 119
      *
120
-     * @return false
120
+     * @return false|null
121 121
      */
122 122
     public function setVariadic($isVariadic)
123 123
     {
Please login to merge, or discard this patch.
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.
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.
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.
src/phpDocumentor/Plugin/Twig/Extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
      * See the Class' DocBlock for a listing of functionality added by this
104 104
      * Extension.
105 105
      *
106
-     * @return \Twig_FunctionInterface[]
106
+     * @return \Twig_SimpleFunction[]
107 107
      */
108 108
     public function getFunctions()
109 109
     {
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.