diff --git a/tests/Unit/ChangelogTest.php b/tests/Unit/ChangelogTest.php index 15e24855b..f34a8b60e 100644 --- a/tests/Unit/ChangelogTest.php +++ b/tests/Unit/ChangelogTest.php @@ -190,7 +190,9 @@ static function ($branch) { ); if (0 === \count($branches)) { - yield [null, null, null]; + yield ['', '', false]; + + return; } usort($branches, static function ($a, $b) {