File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
/**
24
24
* SendmailTransport for sending mail through a Sendmail/Postfix (etc..) binary.
25
25
*
26
- * Transport can be instanciated through SendmailTransportFactory or NativeTransportFactory:
26
+ * Transport can be instantiated through SendmailTransportFactory or NativeTransportFactory:
27
27
*
28
- * - SendmailTransportFactory to use most common sendmail path and recommanded options
28
+ * - SendmailTransportFactory to use most common sendmail path and recommended options
29
29
* - NativeTransportFactory when configuration is set via php.ini
30
30
*
31
31
* @author Fabien Potencier <[email protected] >
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public function initialize(): void
145
145
if ($ this ->streamContextOptions ) {
146
146
$ options = array_merge ($ options , $ this ->streamContextOptions );
147
147
}
148
- // do it unconditionnally as it will be used by STARTTLS as well if supported
148
+ // do it unconditionally as it will be used by STARTTLS as well if supported
149
149
$ options ['ssl ' ]['crypto_method ' ] = $ options ['ssl ' ]['crypto_method ' ] ?? \STREAM_CRYPTO_METHOD_TLS_CLIENT | \STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | \STREAM_CRYPTO_METHOD_TLSv1_1_CLIENT;
150
150
$ streamContext = stream_context_create ($ options );
151
151
You can’t perform that action at this time.
0 commit comments