File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2020
2121use phpMyFAQ \Core \Exception ;
2222use phpMyFAQ \Mail \Builtin ;
23- use phpMyFAQ \Mail \SMTP ;
23+ use phpMyFAQ \Mail \Smtp ;
2424use Symfony \Component \HttpFoundation \Request ;
2525use Symfony \Component \Mailer \Exception \TransportExceptionInterface ;
2626
@@ -700,7 +700,7 @@ public function fixEOL(string $text): string
700700 * @static
701701 * @param string $mua Type of the MUA.
702702 */
703- public static function getMUA (string $ mua ): Builtin |SMTP
703+ public static function getMUA (string $ mua ): Builtin |Smtp
704704 {
705705 $ className = ucfirst (
706706 str_replace (
Original file line number Diff line number Diff line change 2626/**
2727 * Class SMTP
2828 */
29- class SMTP implements MailUserAgentInterface
29+ class Smtp implements MailUserAgentInterface
3030{
3131 private string $ user ;
3232
Original file line number Diff line number Diff line change 55use phpMyFAQ \Core \Exception ;
66use phpMyFAQ \Database \Sqlite3 ;
77use phpMyFAQ \Mail \Builtin ;
8- use phpMyFAQ \Mail \SMTP ;
8+ use phpMyFAQ \Mail \Smtp ;
99use PHPUnit \Framework \TestCase ;
1010
1111class MailTest extends TestCase
@@ -191,7 +191,7 @@ public function testGetMUAWithBuiltin(): void
191191 public function testGetMUAWithSMTP (): void
192192 {
193193 $ result = Mail::getMUA ('smtp ' );
194- $ this ->assertInstanceOf (SMTP ::class, $ result );
194+ $ this ->assertInstanceOf (Smtp ::class, $ result );
195195 }
196196
197197 /**
You can’t perform that action at this time.
0 commit comments