Use traditional array syntax

This commit is contained in:
Gareth Ellis 2015-12-01 15:32:54 +00:00
parent 56cfe8492a
commit d84b6a2c22

View file

@ -97,7 +97,7 @@ class TableShellHelper extends ShellHelper {
$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) {