Skip to content

Commit

Permalink
use info method
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoiriert committed Aug 24, 2024
1 parent e736acf commit 7dba62f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ public function notifyExecution(ObjectActionExecutioner $objectActionExecutioner
'DrawSonataExtraBundle'
);

$this->notifier->send(
(new SonataNotification($subject))
->setSonataFlashType('info')
);
$this->notifier->send(SonataNotification::info($subject));
}
}

Expand Down

0 comments on commit 7dba62f

Please sign in to comment.