Skip to content

Commit

Permalink
Update src/Symfony/Component/Console/Helper/Table.php
Browse files Browse the repository at this point in the history
Co-authored-by: Joseph Bielawski <stloyd@users.noreply.github.com>
  • Loading branch information
jaytaph and stloyd committed Jun 19, 2023
1 parent 3941cb5 commit 4da0f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Console/Helper/Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public function render()
$parts = explode("\n", $cell);
foreach ($parts as $idx => $part) {
if ($headers && !$containsColspan) {
if (0 == $idx) {
if (0 === $idx) {
$rows[] = [sprintf(
'<comment>%s</>: %s',
str_pad($headers[$i] ?? '', $maxHeaderLength, ' ', \STR_PAD_LEFT),
Expand Down

0 comments on commit 4da0f89

Please sign in to comment.