|
@@ -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
|
|
|
@@ -110,7 +110,7 @@ discard block |
|
|
block discarded – undo |
|
110
|
110
|
Call $call, |
|
111
|
111
|
MockObject $mock |
|
112
|
112
|
): \Closure { |
|
113
|
|
- return function () use ($class, $callIndex, $call, $mock) { |
|
|
113
|
+ return function() use ($class, $callIndex, $call, $mock) { |
|
114
|
114
|
if ($call->hasWith()) { |
|
115
|
115
|
$this->compareArguments($class, $call->getMethod(), $callIndex, $call->getWith(), func_get_args()); |
|
116
|
116
|
} |
Please login to merge, or discard this patch.