Skip to content

Commit 9fcc215

Browse files
authored
Update mailer.rst
This is the signature of the method: ``` public function __construct(string $pk, string $domainName, string $selector, array $defaultOptions = [], string $passphrase = '') ```
1 parent ade35d4 commit 9fcc215

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)