Completed
Push — master ( 4e0894...b9fb27 )
by Claudio
04:45 queued 02:45
created
src/Builder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
             $sorter = new Asc($comparator);
218 218
         }
219 219
 
220
-        if (! $this->isAsc) {
220
+        if (!$this->isAsc) {
221 221
             return new Desc($sorter);
222 222
         }
223 223
 
Please login to merge, or discard this patch.
src/Sorter/Key.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
              * @param mixed $first
32 32
              * @param mixed $second
33 33
              */
34
-            static function ($first, $second) use ($comparable): int {
34
+            static function($first, $second) use ($comparable): int {
35 35
                 return $comparable->compare($first, $second);
36 36
             }
37 37
         );
Please login to merge, or discard this patch.
src/Sorter/Asc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
              * @param mixed $first
32 32
              * @param mixed $second
33 33
              */
34
-            static function ($first, $second) use ($comparable): int {
34
+            static function($first, $second) use ($comparable): int {
35 35
                 return $comparable->compare($first, $second);
36 36
             }
37 37
         );
Please login to merge, or discard this patch.
src/Comparator/Comparator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function compare($value, $comparativeValue): int
26 26
     {
27 27
         try {
28
-            $compared = $this->collator->compare((string)$value, (string)$comparativeValue);
28
+            $compared = $this->collator->compare((string) $value, (string) $comparativeValue);
29 29
 
30 30
             if ($this->collator->getErrorCode() !== 0) {
31 31
                 throw IntlSortException::errorOnSort($this->collator->getErrorMessage());
Please login to merge, or discard this patch.