Skip to content

Commit 251f30a

Browse files
committed
Fix styleci
1 parent 8bb9039 commit 251f30a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Console/Command/ReleaseCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,15 +212,19 @@ private function printRelease($currentRelease, $nextRelease, Package $package)
212212

213213
private function printChangelog($pulls)
214214
{
215-
$changelog = array_reduce(array_filter(array_column($pulls, 'changelog')), 'array_merge_recursive', []);
215+
$changelog = array_reduce(
216+
array_filter(array_column($pulls, 'changelog')),
217+
'array_merge_recursive',
218+
array()
219+
);
216220

217221
$print = '';
218222
foreach ($changelog as $type => $changes) {
219223
if (count($changes) === 0) {
220224
continue;
221225
}
222226

223-
$print .= "### ".$type.PHP_EOL;
227+
$print .= '### '.$type.PHP_EOL;
224228

225229
foreach ($changes as $change) {
226230
$print .= '- '.$change.PHP_EOL;

0 commit comments

Comments
 (0)