@@ -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( |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Prophecy\Call; |
| 13 | 13 | |
| 14 | 14 | use Prophecy\Exception\Prophecy\MethodProphecyException; |
| 15 | -use Prophecy\Prophecy\MethodProphecy; |
|
| 16 | 15 | use Prophecy\Prophecy\ObjectProphecy; |
| 17 | 16 | use Prophecy\Argument\ArgumentsWildcard; |
| 18 | 17 | use Prophecy\Util\StringUtil; |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @param string $message |
| 35 | - * @param string|object $classname |
|
| 35 | + * @param string $classname |
|
| 36 | 36 | * @param string $methodName |
| 37 | 37 | * @param null|ArgumentsWildcard|array $arguments |
| 38 | 38 | */ |