diff --git a/lib/Cake/Console/Helper/ProgressShellHelper.php b/lib/Cake/Console/Helper/ProgressShellHelper.php index 14f3556ace3..01fa5074c54 100644 --- a/lib/Cake/Console/Helper/ProgressShellHelper.php +++ b/lib/Cake/Console/Helper/ProgressShellHelper.php @@ -55,7 +55,7 @@ class ProgressShellHelper extends ShellHelper { * @throws RuntimeException */ public function output($args) { - $args += ['callback' => null]; + $args += array('callback' => null); if (isset($args[0])) { $args['callback'] = $args[0]; } @@ -82,7 +82,7 @@ public function output($args) { * @return void */ public function init(array $args = array()) { - $args += ['total' => 100, 'width' => 80]; + $args += array('total' => 100, 'width' => 80); $this->_progress = 0; $this->_width = $args['width']; $this->_total = $args['total'];