Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
wernerkrauss committed Feb 20, 2024
1 parent 653f67c commit 85f7f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Checkout/OrderEmailNotifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function buildEmail($template, $subject)
*
* @return bool|string
*/
public function sendEmail(string $template, string $subject, bool $copyToAdmin = true)
public function sendEmail(string $template, string $subject, ?bool $copyToAdmin = true)
{
SSViewer::set_themes(Config::inst()->get(SSViewer::class, 'themes'));

Expand Down

0 comments on commit 85f7f9c

Please sign in to comment.