Skip to content

Commit

Permalink
Update TableHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed May 22, 2016
1 parent 0f872a2 commit 209a276
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Shell/Helper/TableHelper.php
Expand Up @@ -105,16 +105,16 @@ public function output($rows)
if(empty($rows) || !is_array($rows)) {
return;
}

$config = $this->config();
$widths = $this->_calculateWidths($rows);

$this->_rowSeparator($widths);
if ($config['headers'] === true) {
$this->_render(array_shift($rows), $widths, ['style' => $config['headerStyle']]);
$this->_rowSeparator($widths);
}

if(empty($rows)) {
return;
}
Expand Down

0 comments on commit 209a276

Please sign in to comment.