Skip to content

Commit

Permalink
Use option() method to get preset option
Browse files Browse the repository at this point in the history
  • Loading branch information
bezin committed Feb 21, 2024
1 parent 06746ff commit 8f9abf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Actions/EmailAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class EmailAction extends Action
*/
public function perform()
{
$this->options = $this->preset($this->options['preset'] ?? null);
$this->options = $this->preset($this->option('preset'));

$params = array_merge($this->options, [
'to' => $this->requireOption('to'),
Expand Down

0 comments on commit 8f9abf1

Please sign in to comment.