@@ -217,7 +217,7 @@ |
||
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 |
@@ -21,14 +21,14 @@ |
||
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 |
@@ -22,7 +22,7 @@ |
||
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 | ); |
@@ -22,7 +22,7 @@ |
||
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 | ); |