Passed
Push — master ( da5212...60aaad )
by Claudio
13:00
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/ComparatorFactory/SimpleCollator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,14 +21,14 @@
 block discarded – undo
21 21
      */
22 22
     public function __construct(string $classname)
23 23
     {
24
-        if (! class_exists($classname)) {
24
+        if (!class_exists($classname)) {
25 25
             throw IntlSortException::classDoesNotExist($classname);
26 26
         }
27 27
 
28 28
         /** @var array<string> $interfaces */
29 29
         $interfaces = class_implements($classname);
30 30
 
31
-        if (! in_array(CollatorConstructor::class, $interfaces, true)) {
31
+        if (!in_array(CollatorConstructor::class, $interfaces, true)) {
32 32
             throw IntlSortException::doesNotImplementComparable($classname);
33 33
         }
34 34
 
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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $comparable = $this->comparable;
23 23
         uasort(
24 24
             $values,
25
-            static function (mixed $first, mixed $second) use ($comparable): int {
25
+            static function(mixed $first, mixed $second) use ($comparable): int {
26 26
                 return $comparable->compare($first, $second);
27 27
             }
28 28
         );
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
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $comparable = $this->comparable;
23 23
         uksort(
24 24
             $values,
25
-            static function (mixed $first, mixed $second) use ($comparable): int {
25
+            static function(mixed $first, mixed $second) use ($comparable): int {
26 26
                 return $comparable->compare($first, $second);
27 27
             }
28 28
         );
Please login to merge, or discard this patch.