File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function create(Dsn $dsn): TransportInterface
29
29
throw new UnsupportedSchemeException ($ dsn , 'native ' , $ this ->getSupportedSchemes ());
30
30
}
31
31
32
- if ($ sendMailPath = \ ini_get ('sendmail_path ' )) {
32
+ if ($ sendMailPath = ini_get ('sendmail_path ' )) {
33
33
return new SendmailTransport ($ sendMailPath , $ this ->dispatcher , $ this ->logger );
34
34
}
35
35
@@ -39,8 +39,8 @@ public function create(Dsn $dsn): TransportInterface
39
39
40
40
// Only for windows hosts; at this point non-windows
41
41
// host have already thrown an exception or returned a transport
42
- $ host = \ ini_get ('SMTP ' );
43
- $ port = (int ) \ ini_get ('smtp_port ' );
42
+ $ host = ini_get ('SMTP ' );
43
+ $ port = (int ) ini_get ('smtp_port ' );
44
44
45
45
if (!$ host || !$ port ) {
46
46
throw new TransportException ('smtp or smtp_port is not configured in php.ini. ' );
You can’t perform that action at this time.
0 commit comments