From 9fcc215a9f045f206cc776a2c4b87e7173d4e9dc Mon Sep 17 00:00:00 2001 From: Henri Larget <1727893+decima@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:31:21 +0200 Subject: [PATCH] Update mailer.rst This is the signature of the method: ``` public function __construct(string $pk, string $domainName, string $selector, array $defaultOptions = [], string $passphrase = '') ``` --- mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index e257869b94d..352e3613fea 100644 --- a/mailer.rst +++ b/mailer.rst @@ -841,7 +841,7 @@ key but not a certificate:: // second and third arguments: the domain name and "selector" used to perform a DNS lookup // (the selector is a string used to point to a specific DKIM public key record in your DNS) $signer = new DkimSigner('file:///path/to/private-key.key', 'example.com', 'sf'); - // if the private key has a passphrase, pass it as the fourth argument + // if the private key has a passphrase, pass it as the fifth argument // new DkimSigner('file:///path/to/private-key.key', 'example.com', 'sf', [], 'the-passphrase'); $signedEmail = $signer->sign($email);