Completed
Pull Request — master (#264)
by Théo
04:08 queued 02:06
created
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.
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.