Skip to content

Commit

Permalink
Apply spread operator array
Browse files Browse the repository at this point in the history
  • Loading branch information
peter279k committed Oct 3, 2023
1 parent 999fb1c commit 5ed71c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Runner/Reporting/TaskResultsReporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public function report(TaskRunnerContext $context): void

// Always add content if we decided that an overwrite is not possible!
if (!$this->isOverwritePossible()) {
$this->outputSection->writeln(array_merge($message, ['']));
$this->outputSection->writeln([...$message, '']);
return;
}

Expand Down

0 comments on commit 5ed71c5

Please sign in to comment.