Skip to content

Commit

Permalink
Fixed Psalm errors (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbyoung committed Aug 1, 2021
1 parent 6390096 commit 7ca3d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Output/Formatters/TableFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function format(array $rows, array $headers = []): string
'%s%s%s%s%s',
$this->verticalBorderChar,
$this->cellPaddingString,
\implode($this->cellPaddingString . $this->verticalBorderChar . $this->cellPaddingString, $row),
\implode($this->cellPaddingString . $this->verticalBorderChar . $this->cellPaddingString, \array_map(static fn (mixed $value) => (string)$value, $row)),
$this->cellPaddingString,
$this->verticalBorderChar
)
Expand Down

0 comments on commit 7ca3d4e

Please sign in to comment.