Skip to content

Commit

Permalink
ListCommand: Replace printf with print where applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Sep 6, 2023
1 parent b9584ac commit c6710f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/clicommands/ListCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function indexAction()
}

if ($reports->count() === 0) {
printf($this->translate("No reports found\n"));
print $this->translate("No reports found\n");
exit;
}

Expand Down Expand Up @@ -121,7 +121,7 @@ protected function outputTable($reports, array $dataCallbacks)
$beautifier .= "\n";

printf($format, ...array_keys($columnsAndLengths));
printf($beautifier);
print $beautifier;

foreach ($rows as $row) {
printf($format, ...$row);
Expand Down

0 comments on commit c6710f9

Please sign in to comment.