mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding missing default value.
This commit is contained in:
parent
ed0476861e
commit
b398877887
1 changed files with 2 additions and 1 deletions
|
@ -239,7 +239,8 @@ class ConsoleOptionParser {
|
|||
'name' => $name,
|
||||
'help' => '',
|
||||
'index' => count($this->_args),
|
||||
'required' => false
|
||||
'required' => false,
|
||||
'choices' => array()
|
||||
);
|
||||
$options = array_merge($defaults, $params);
|
||||
$index = $options['index'];
|
||||
|
|
Loading…
Add table
Reference in a new issue