mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Use traditional array syntax
This commit is contained in:
parent
56cfe8492a
commit
d84b6a2c22
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue