@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param string $message |
| 33 | - * @param string|object $classname |
|
| 33 | + * @param string $classname |
|
| 34 | 34 | * @param string $methodName |
| 35 | 35 | * @param null|Argument\ArgumentsWildcard|array $arguments |
| 36 | 36 | */ |
@@ -214,6 +214,9 @@ |
||
| 214 | 214 | ); |
| 215 | 215 | } |
| 216 | 216 | |
| 217 | + /** |
|
| 218 | + * @param integer $indentationLength |
|
| 219 | + */ |
|
| 217 | 220 | private function indentArguments(array $arguments, $indentationLength) |
| 218 | 221 | { |
| 219 | 222 | return preg_replace_callback( |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | * |
| 41 | 41 | * @param ObjectProphecy $objectProphecy |
| 42 | 42 | * @param string $methodName |
| 43 | - * @param null|Argument\ArgumentsWildcard|array $arguments |
|
| 43 | + * @param Argument\ArgumentsWildcard $arguments |
|
| 44 | 44 | * |
| 45 | 45 | * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found |
| 46 | 46 | */ |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | /** |
| 137 | 137 | * Sets custom promise to the prophecy. |
| 138 | 138 | * |
| 139 | - * @param callable|Promise\PromiseInterface $promise |
|
| 139 | + * @param callable $promise |
|
| 140 | 140 | * |
| 141 | 141 | * @return $this |
| 142 | 142 | * |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | /** |
| 353 | 353 | * Checks provided prediction immediately. |
| 354 | 354 | * |
| 355 | - * @param callable|Prediction\PredictionInterface $prediction |
|
| 355 | + * @param Prediction\PredictionInterface $prediction |
|
| 356 | 356 | * |
| 357 | 357 | * @return $this |
| 358 | 358 | * |