@@ -126,6 +126,9 @@ |
||
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 | { |
@@ -39,7 +39,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | { |