Completed
Push — master ( 47e4de...9ac404 )
by Ivannis Suárez
02:30
created
Tests/Units/MultiComparatorTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Tests/Units/SortTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
Tests/Units/AbstractComparatorTestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Tests/Units/CustomTests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.