Completed
Pull Request — master (#50)
by
unknown
32:35 queued 21:26
created
vendor/phpspec/prophecy/spec/Prophecy/Prediction/CallbackPredictionSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace spec\Prophecy\Prediction;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-
7 6
 use RuntimeException;
8 7
 
9 8
 class CallbackPredictionSpec extends ObjectBehavior
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/spec/Prophecy/Prophecy/ObjectProphecySpec.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -312,6 +312,9 @@
 block discarded – undo
312 312
     public $errors;
313 313
     public $value = null;
314 314
 
315
+    /**
316
+     * @param string $value
317
+     */
315 318
     public function __construct($value)
316 319
     {
317 320
         $this->value = $value;
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Argument/Token/ExactValueToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * Scores 10 if argument matches preset value.
47 47
      *
48
-     * @param $argument
48
+     * @param string $argument
49 49
      *
50 50
      * @return bool|int
51 51
      */
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Call/CallCenter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -136,6 +136,9 @@
 block discarded – undo
136 136
         );
137 137
     }
138 138
 
139
+    /**
140
+     * @param string $methodName
141
+     */
139 142
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
140 143
                                                    array $arguments)
141 144
     {
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/src/Prophecy/Prophecy/MethodProphecy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param ObjectProphecy                        $objectProphecy
41 41
      * @param string                                $methodName
42
-     * @param null|Argument\ArgumentsWildcard|array $arguments
42
+     * @param Argument\ArgumentsWildcard $arguments
43 43
      *
44 44
      * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found
45 45
      */
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
     /**
263 263
      * Checks provided prediction immediately.
264 264
      *
265
-     * @param callable|Prediction\PredictionInterface $prediction
265
+     * @param Prediction\PredictionInterface $prediction
266 266
      *
267 267
      * @return $this
268 268
      *
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
     /**
369 369
      * Returns currently registered promise.
370 370
      *
371
-     * @return null|Promise\PromiseInterface
371
+     * @return Promise\PromiseInterface
372 372
      */
373 373
     public function getPromise()
374 374
     {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
     /**
379 379
      * Returns currently registered prediction.
380 380
      *
381
-     * @return null|Prediction\PredictionInterface
381
+     * @return Prediction\PredictionInterface
382 382
      */
383 383
     public function getPrediction()
384 384
     {
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
      * Appends code coverage data.
260 260
      *
261 261
      * @param  array                      $data
262
-     * @param  mixed                      $id
262
+     * @param  null|string                      $id
263 263
      * @param  bool                       $append
264 264
      * @param  mixed                      $linesToBeCovered
265 265
      * @param  array                      $linesToBeUsed
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/Node/Iterator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     /**
67 67
      * Returns the current element.
68 68
      *
69
-     * @return PHPUnit_Framework_Test
69
+     * @return PHP_CodeCoverage_Report_Node|null
70 70
      */
71 71
     public function current()
72 72
     {
Please login to merge, or discard this patch.
phpunit/php-code-coverage/src/CodeCoverage/Report/XML/File/Report.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
  */
14 14
 class PHP_CodeCoverage_Report_XML_File_Report extends PHP_CodeCoverage_Report_XML_File
15 15
 {
16
+    /**
17
+     * @param string $name
18
+     */
16 19
     public function __construct($name)
17 20
     {
18 21
         $this->dom = new DOMDocument;
@@ -58,6 +61,9 @@  discard block
 block discarded – undo
58 61
         return $this->getUnitObject('trait', $name);
59 62
     }
60 63
 
64
+    /**
65
+     * @param string $tagName
66
+     */
61 67
     private function getUnitObject($tagName, $name)
62 68
     {
63 69
         $node = $this->contextNode->appendChild(
Please login to merge, or discard this patch.
vendor/phpunit/php-code-coverage/src/CodeCoverage/Report/XML/Node.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@  discard block
 block discarded – undo
60 60
         return new PHP_CodeCoverage_Report_XML_Totals($totalsContainer);
61 61
     }
62 62
 
63
+    /**
64
+     * @param string $name
65
+     */
63 66
     public function addDirectory($name)
64 67
     {
65 68
         $dirNode = $this->getDom()->createElementNS(
@@ -73,6 +76,10 @@  discard block
 block discarded – undo
73 76
         return new PHP_CodeCoverage_Report_XML_Directory($dirNode);
74 77
     }
75 78
 
79
+    /**
80
+     * @param string $name
81
+     * @param string $href
82
+     */
76 83
     public function addFile($name, $href)
77 84
     {
78 85
         $fileNode = $this->getDom()->createElementNS(
Please login to merge, or discard this patch.