Completed
Push — master ( 98647d...478a43 )
by Dominik
01:59
created
src/MockByCallsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $callIndex = 0;
50 50
 
51 51
         $mock->expects(self::any())->method(self::anything())->willReturnCallback(
52
-            function () use ($class, $mock, $callCount, &$callIndex) {
52
+            function() use ($class, $mock, $callCount, &$callIndex) {
53 53
                 if ($callIndex === $callCount) {
54 54
                     $options = JSON_PRESERVE_ZERO_FRACTION | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES;
55 55
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         Call $call,
82 82
         MockObject $mock
83 83
     ): \Closure {
84
-        return function () use ($class, $at, $call, $mock) {
84
+        return function() use ($class, $at, $call, $mock) {
85 85
             if ($call->hasWith()) {
86 86
                 $this->compareArguments($class, $call->getMethod(), $at, $call->getWith(), func_get_args());
87 87
             }
Please login to merge, or discard this patch.