Skip to content

Commit 6251c05

Browse files
committed
fix php cs
1 parent 0bacb37 commit 6251c05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/ArrayAssertions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public static function assertEquals(array $expected, $actual): void
2828
{
2929
PHPUnit::assertIsArray($actual);
3030

31-
if(array_keys($expected) === range(0, count($expected) - 1)) {
31+
if (array_keys($expected) === range(0, count($expected) - 1)) {
3232
sort($expected);
3333
sort($actual);
3434
} else {

tests/ArrayAssertionsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public static function it_can_validate_associative_array_equality(): void
5353

5454
$actual = $array;
5555
$expected = $array;
56-
uksort($actual, fn(): int => self::randomInt() <=> self::randomInt());
56+
uksort($actual, fn (): int => self::randomInt() <=> self::randomInt());
5757

5858
ArrayAssertions::assertEquals($expected, $actual);
5959
}

tests/Utils/Randomize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected static function randomString(int $length = 16): string
1616

1717
protected static function randomBool(): bool
1818
{
19-
return (bool)random_int(0, 1);
19+
return (bool) random_int(0, 1);
2020
}
2121

2222
protected static function randomInt(int $min = PHP_INT_MIN, int $max = PHP_INT_MAX): int

0 commit comments

Comments
 (0)