|
@@ -28,7 +28,7 @@ discard block |
|
|
block discarded – undo |
|
28
|
28
|
$callIndex = -1; |
|
29
|
29
|
|
|
30
|
30
|
$mock->expects(self::exactly(count($calls)))->method(self::anything())->willReturnCallback( |
|
31
|
|
- function () use ($className, $mock, $mockName, &$callIndex, &$calls, $options) { |
|
|
31
|
+ function() use ($className, $mock, $mockName, &$callIndex, &$calls, $options) { |
|
32
|
32
|
++$callIndex; |
|
33
|
33
|
|
|
34
|
34
|
$call = array_shift($calls); |
|
@@ -113,7 +113,7 @@ discard block |
|
|
block discarded – undo |
|
113
|
113
|
Call $call, |
|
114
|
114
|
MockObject $mock |
|
115
|
115
|
): \Closure { |
|
116
|
|
- return function () use ($class, $callIndex, $call, $mock) { |
|
|
116
|
+ return function() use ($class, $callIndex, $call, $mock) { |
|
117
|
117
|
if ($call->hasWith()) { |
|
118
|
118
|
$this->compareArguments($class, $call->getMethod(), $callIndex, $call->getWith(), func_get_args()); |
|
119
|
119
|
} |
Please login to merge, or discard this patch.