Skip to content

Commit ec1e73f

Browse files
committed
Fixed build
1 parent 715289c commit ec1e73f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Sniffs/Functions/data/requireTrailingCommaInCallNoErrors.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ public function __construct(
7272
$foo,
7373
) );
7474

75-
usort([], static fn ($a, $b): int
75+
$array = [];
76+
usort($array, static fn ($a, $b): int
7677
=> (int) $b->getType() <=> (int) $a->getType()
7778
?: $a->getId() <=> $b->getId()
7879
);

0 commit comments

Comments
 (0)