Passed
Push — master ( 816ebb...c84a1a )
by Claudio
02:19
created
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     private Configuration $configuration;
29 29
 
30
-    public function __construct(string $locale, Factory|null $comparatorFactory = null)
30
+    public function __construct(string $locale, Factory | null $comparatorFactory = null)
31 31
     {
32 32
         $this->collator          = new Collator($locale);
33 33
         $this->configuration     = new Configuration();
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
             $sorter = new Asc($comparator);
237 237
         }
238 238
 
239
-        if (! $this->isAsc) {
239
+        if (!$this->isAsc) {
240 240
             return new Desc($sorter);
241 241
         }
242 242
 
Please login to merge, or discard this patch.
src/Collator/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,16 +10,16 @@
 block discarded – undo
10 10
     public const NULL_VALUES_LAST  = 2;
11 11
 
12 12
     /** @phpstan-var self::NULL_VALUES_*|null */
13
-    private int|null $nullableSort = null;
13
+    private int | null $nullableSort = null;
14 14
 
15 15
     /** @phpstan-param self::NULL_VALUES_*|null $value */
16
-    public function setNullableSort(int|null $value): void
16
+    public function setNullableSort(int | null $value): void
17 17
     {
18 18
         $this->nullableSort = $value;
19 19
     }
20 20
 
21 21
     /** @phpstan-return self::NULL_VALUES_*|null */
22
-    public function getNullableSort(): int|null
22
+    public function getNullableSort(): int | null
23 23
     {
24 24
         return $this->nullableSort;
25 25
     }
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
     /** @psalm-param class-string<CollatorConstructor> $classname */
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.