1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00

Code style fix

This commit is contained in:
Barney Laurance 2022-12-02 00:40:01 +00:00
parent ad57727593
commit 1dbdf7882c

View File

@ -180,8 +180,11 @@ HEADING;
{
usort($this->issues_data, function (IssueData $left, IssueData $right): int {
// negative error levels go to the top, followed by large positive levels, with level 1 at the bottom.
return [$left->error_level > 0, -$left->error_level, $left->type, $left->file_path, $left->file_name, $left->line_from] <=>
[$right->error_level > 0, -$right->error_level, $right->type, $right->file_path, $right->file_name, $right->line_from];
return [$left->error_level > 0, -$left->error_level, $left->type,
$left->file_path, $left->file_name, $left->line_from]
<=>
[$right->error_level > 0, -$right->error_level, $right->type,
$right->file_path, $right->file_name, $right->line_from];
});
}
}