@@ -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 | */ |
@@ -269,7 +269,7 @@ discard block |
||
| 269 | 269 | * |
| 270 | 270 | * @see \Prophecy\Prediction\CallTimesPrediction |
| 271 | 271 | * |
| 272 | - * @param $count |
|
| 272 | + * @param integer $count |
|
| 273 | 273 | * |
| 274 | 274 | * @return $this |
| 275 | 275 | */ |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | /** |
| 306 | 306 | * Checks provided prediction immediately. |
| 307 | 307 | * |
| 308 | - * @param callable|Prediction\PredictionInterface $prediction |
|
| 308 | + * @param Prediction\PredictionInterface $prediction |
|
| 309 | 309 | * |
| 310 | 310 | * @return $this |
| 311 | 311 | * |
@@ -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 | */ |
@@ -145,6 +145,9 @@ discard block |
||
| 145 | 145 | ); |
| 146 | 146 | } |
| 147 | 147 | |
| 148 | + /** |
|
| 149 | + * @param string $methodName |
|
| 150 | + */ |
|
| 148 | 151 | private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName, |
| 149 | 152 | array $arguments) |
| 150 | 153 | { |
@@ -201,6 +204,9 @@ discard block |
||
| 201 | 204 | ); |
| 202 | 205 | } |
| 203 | 206 | |
| 207 | + /** |
|
| 208 | + * @param integer $indentationLength |
|
| 209 | + */ |
|
| 204 | 210 | private function indentArguments(array $arguments, $indentationLength) |
| 205 | 211 | { |
| 206 | 212 | return preg_replace_callback( |