mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
Allow to define default options in the tasks (eg: flags)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user