We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3072982 commit a0928fbCopy full SHA for a0928fb
Factory/PHPMailerSmtpFactory.php
@@ -6,12 +6,16 @@
6
7
use Codefy\Framework\Contracts\MailerFactory;
8
use Codefy\Framework\Support\CodefyMailer;
9
+use Qubus\Exception\Data\TypeException;
10
use Qubus\Mail\Mailer;
11
12
use function Codefy\Framework\Helpers\app;
13
14
class PHPMailerSmtpFactory implements MailerFactory
15
{
16
+ /**
17
+ * @throws TypeException
18
+ */
19
public static function create(): Mailer
20
21
return new CodefyMailer(config: app(name: 'codefy.config'));
0 commit comments