Completed
Pull Request — master (#96)
by Deven
28:46
created
spec/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatchSpec.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\Doubler\ClassPatch;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class ReflectionClassNewInstancePatchSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/spec/Prophecy/Doubler/DoublerSpec.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\Doubler;
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6
-use Prophecy\Argument;
7 6
 
8 7
 class DoublerSpec extends ObjectBehavior
9 8
 {
Please login to merge, or discard this patch.
vendor/phpspec/prophecy/spec/Prophecy/Doubler/Generator/ClassMirrorSpec.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use PhpSpec\ObjectBehavior;
6 6
 use I\Simply;
7
-
8 7
 use ReflectionClass;
9 8
 use ReflectionMethod;
10 9
 use ReflectionParameter;
Please login to merge, or discard this patch.
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
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
         );
127 127
     }
128 128
 
129
+    /**
130
+     * @param string $methodName
131
+     */
129 132
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
130 133
                                                    array $arguments)
131 134
     {
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.