Skip to content

Commit a0928fb

Browse files
committed
Updated exception.
Signed-off-by: Joshua Parker <[email protected]>
1 parent 3072982 commit a0928fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Factory/PHPMailerSmtpFactory.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@
66

77
use Codefy\Framework\Contracts\MailerFactory;
88
use Codefy\Framework\Support\CodefyMailer;
9+
use Qubus\Exception\Data\TypeException;
910
use Qubus\Mail\Mailer;
1011

1112
use function Codefy\Framework\Helpers\app;
1213

1314
class PHPMailerSmtpFactory implements MailerFactory
1415
{
16+
/**
17+
* @throws TypeException
18+
*/
1519
public static function create(): Mailer
1620
{
1721
return new CodefyMailer(config: app(name: 'codefy.config'));

0 commit comments

Comments
 (0)