@@ -29,7 +29,7 @@ |
||
29 | 29 | protected function defaultConstructorArguments() |
30 | 30 | { |
31 | 31 | $comparator = new Comparator(); |
32 | - $custom = new Custom(function ($a, $b) use ($comparator) { |
|
32 | + $custom = new Custom(function($a, $b) use ($comparator) { |
|
33 | 33 | return $comparator->compare($a % 2, $b % 2); |
34 | 34 | }); |
35 | 35 |
@@ -43,7 +43,7 @@ |
||
43 | 43 | public function testCustomComparator() |
44 | 44 | { |
45 | 45 | $this |
46 | - ->given($comparator = Sort::custom(function ($a, $b) { |
|
46 | + ->given($comparator = Sort::custom(function($a, $b) { |
|
47 | 47 | return 0; |
48 | 48 | })) |
49 | 49 | ->then() |
@@ -44,7 +44,7 @@ |
||
44 | 44 | |
45 | 45 | $this |
46 | 46 | ->given($comparatorMock = $this->newDefaultMockTestedInstance()) |
47 | - ->exception(function () use ($comparatorMock) { |
|
47 | + ->exception(function() use ($comparatorMock) { |
|
48 | 48 | $comparatorMock->foo(); |
49 | 49 | }) |
50 | 50 | ->isInstanceOf(\BadMethodCallException::class) |
@@ -29,7 +29,7 @@ |
||
29 | 29 | { |
30 | 30 | $comparator = new Comparator(); |
31 | 31 | |
32 | - return array(function ($a, $b) use ($comparator) { |
|
32 | + return array(function($a, $b) use ($comparator) { |
|
33 | 33 | return $comparator->compare($a % 2, $b % 2); |
34 | 34 | }); |
35 | 35 | } |