Skip to content

Commit

Permalink
Adapt to changed setMail() in context
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Jul 2, 2024
1 parent c834c32 commit 029dd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Base/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected function addLogger( \Aimeos\MShop\ContextIface $context ) : \Aimeos\MS
*/
protected function addMailer( \Aimeos\MShop\ContextIface $context ) : \Aimeos\MShop\ContextIface
{
$mail = new \Aimeos\Base\Mail\Laravel( function() { return app( 'mailer' ); } );
$mail = new \Aimeos\Base\Mail\Manager\Laravel( app( 'mail.manager' ) );

return $context->setMail( $mail );
}
Expand Down

0 comments on commit 029dd2f

Please sign in to comment.