Skip to content

Commit 8fbb3cc

Browse files
committed
minor #14315 Fix typo on mailer doc (decima)
This PR was merged into the master branch. Discussion ---------- Fix typo on mailer doc This is the signature of the constructor: ```php public function __construct(string $pk, string $domainName, string $selector, array $defaultOptions = [], string $passphrase = '') ``` <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 9fcc215 Update mailer.rst
2 parents ade35d4 + 9fcc215 commit 8fbb3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,7 +841,7 @@ key but not a certificate::
841841
// second and third arguments: the domain name and "selector" used to perform a DNS lookup
842842
// (the selector is a string used to point to a specific DKIM public key record in your DNS)
843843
$signer = new DkimSigner('file:///path/to/private-key.key', 'example.com', 'sf');
844-
// if the private key has a passphrase, pass it as the fourth argument
844+
// if the private key has a passphrase, pass it as the fifth argument
845845
// new DkimSigner('file:///path/to/private-key.key', 'example.com', 'sf', [], 'the-passphrase');
846846

847847
$signedEmail = $signer->sign($email);

0 commit comments

Comments
 (0)