Skip to content

Commit

Permalink
build: fix codacy not liking "else" for some reason 🙄
Browse files Browse the repository at this point in the history
  • Loading branch information
Mishura4 committed Aug 10, 2023
1 parent 1beb0e2 commit 8e2b104
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buildtools/changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ function add_change(string $change, string $category, string $scope = null) {
$catgroup[$category][$scope] = [];
}
$catgroup[$category][$scope][] = $change;
return;
}
else {
$catgroup[$category][] = $change;
}
$catgroup[$category][] = $change;
}

foreach ($changelog as $change) {
Expand Down

0 comments on commit 8e2b104

Please sign in to comment.