1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-09-13 12:40:18 +02:00

Allow to define default options in the tasks (eg: flags)

This commit is contained in:
Andrés Montañez 2017-02-11 00:03:38 -03:00
parent 83f047aab0
commit abf10b05f8

View File

@ -62,7 +62,7 @@ abstract class AbstractTask
$options = []; $options = [];
} }
$this->options = array_merge($options, $this->getDefaults()); $this->options = array_merge($this->getDefaults(), $options);
return $this; return $this;
} }