mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-21 15:16:35 +02:00
Allow to define default options in the tasks (eg: flags)
This commit is contained in:
parent
83f047aab0
commit
abf10b05f8
|
@ -62,7 +62,7 @@ abstract class AbstractTask
|
|||
$options = [];
|
||||
}
|
||||
|
||||
$this->options = array_merge($options, $this->getDefaults());
|
||||
$this->options = array_merge($this->getDefaults(), $options);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue