|
@@ -32,7 +32,7 @@ discard block |
|
|
block discarded – undo |
|
32
|
32
|
$callIndex = -1; |
|
33
|
33
|
|
|
34
|
34
|
$mock->expects(self::any())->method(self::anything())->willReturnCallback( |
|
35
|
|
- function () use ($class, $mock, $mockName, &$callIndex, &$calls, $options) { |
|
|
35
|
+ function() use ($class, $mock, $mockName, &$callIndex, &$calls, $options) { |
|
36
|
36
|
++$callIndex; |
|
37
|
37
|
$call = array_shift($calls); |
|
38
|
38
|
|
|
@@ -108,7 +108,7 @@ discard block |
|
|
block discarded – undo |
|
108
|
108
|
Call $call, |
|
109
|
109
|
MockObject $mock |
|
110
|
110
|
): \Closure { |
|
111
|
|
- return function () use ($class, $callIndex, $call, $mock) { |
|
|
111
|
+ return function() use ($class, $callIndex, $call, $mock) { |
|
112
|
112
|
if ($call->hasWith()) { |
|
113
|
113
|
$this->compareArguments($class, $call->getMethod(), $callIndex, $call->getWith(), func_get_args()); |
|
114
|
114
|
} |
Please login to merge, or discard this patch.