Skip to content

Commit

Permalink
Use traditional array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth Ellis committed Dec 1, 2015
1 parent 56cfe84 commit d84b6a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/Helper/TableShellHelper.php
Expand Up @@ -97,7 +97,7 @@ public function output($rows) {
$widths = $this->_calculateWidths($rows);
$this->_rowSeparator($widths);
if ($config['headers'] === true) {
$this->_render(array_shift($rows), $widths, ['style' => $config['headerStyle']]);
$this->_render(array_shift($rows), $widths, array('style' => $config['headerStyle']));
$this->_rowSeparator($widths);
}
foreach ($rows as $line) {
Expand Down

0 comments on commit d84b6a2

Please sign in to comment.