From 8e2b1040b99efd1ff7ad914ff23fd780bf372620 Mon Sep 17 00:00:00 2001 From: Miuna Date: Thu, 10 Aug 2023 12:30:01 -0400 Subject: [PATCH] =?UTF-8?q?build:=20fix=20codacy=20not=20liking=20"else"?= =?UTF-8?q?=20for=20some=20reason=20=F0=9F=99=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buildtools/changelog.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/buildtools/changelog.php b/buildtools/changelog.php index aa945fe7d0..f6bb57d378 100755 --- a/buildtools/changelog.php +++ b/buildtools/changelog.php @@ -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) {