Passed
Push — master ( cf8677...e90ce7 )
by Kyle
02:51 queued 11s
created
src/test/php/PHPMD/AbstractTest.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      * Returns the first method or function node for a given test file.
205 205
      *
206 206
      * @param string $file
207
-     * @return MethodNode|FunctionNode
207
+     * @return AbstractNode
208 208
      * @since 2.8.3
209 209
      */
210 210
     protected function getNodeForTestFile($file)
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      * @param string $file
267 267
      * @param int $expectedInvokes
268 268
      * @param int $actualInvokes
269
-     * @param array|iterable|Traversable $violations
269
+     * @param \ArrayIterator $violations
270 270
      *
271 271
      * @return string
272 272
      */
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
      * Creates a mocked report instance.
438 438
      *
439 439
      * @param integer $expectedInvokes Number of expected invokes.
440
-     * @return Report|PHPUnit_Framework_MockObject_MockObject
440
+     * @return Report
441 441
      */
442 442
     protected function getReportMock($expectedInvokes = -1)
443 443
     {
@@ -515,8 +515,8 @@  discard block
 block discarded – undo
515 515
      * Creates a mocked rule-set instance.
516 516
      *
517 517
      * @param string $expectedClass Optional class name for apply() expected at least once.
518
-     * @param int|string $count How often should apply() be called?
519
-     * @return RuleSet|PHPUnit_Framework_MockObject_MockObject
518
+     * @param integer $count How often should apply() be called?
519
+     * @return RuleSet
520 520
      */
521 521
     protected function getRuleSetMock($expectedClass = null, $count = '*')
522 522
     {
Please login to merge, or discard this patch.