From 1dbdf7882c196513bc9bee3acf8ca3b003ca72cd Mon Sep 17 00:00:00 2001 From: Barney Laurance Date: Fri, 2 Dec 2022 00:40:01 +0000 Subject: [PATCH] Code style fix --- src/Psalm/Report/ByIssueLevelAndTypeReport.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/Psalm/Report/ByIssueLevelAndTypeReport.php b/src/Psalm/Report/ByIssueLevelAndTypeReport.php index 6863d487fe2..85169c8121f 100644 --- a/src/Psalm/Report/ByIssueLevelAndTypeReport.php +++ b/src/Psalm/Report/ByIssueLevelAndTypeReport.php @@ -180,8 +180,11 @@ private function sortIssuesByLevelAndType(): void { 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]; }); } }