minor #37118 [Mime] Remove unused var (fabpot)
This PR was merged into the 4.4 branch.
Discussion
----------
[Mime] Remove unused var
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | no
| New feature? |no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | n/a <!-- prefix each issue number with "Fix #", if any -->
| License | MIT
| Doc PR | n/a
Commits
-------
86613797d1
[Mime] Remove unused var
This commit is contained in:
commit
879e68c49b
@ -24,11 +24,6 @@ final class SMimeSigner extends SMime
|
|||||||
private $signOptions;
|
private $signOptions;
|
||||||
private $extraCerts;
|
private $extraCerts;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string|null
|
|
||||||
*/
|
|
||||||
private $privateKeyPassphrase;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $certificate The path of the file containing the signing certificate (in PEM format)
|
* @param string $certificate The path of the file containing the signing certificate (in PEM format)
|
||||||
* @param string $privateKey The path of the file containing the private key (in PEM format)
|
* @param string $privateKey The path of the file containing the private key (in PEM format)
|
||||||
@ -52,7 +47,6 @@ final class SMimeSigner extends SMime
|
|||||||
|
|
||||||
$this->signOptions = $signOptions ?? PKCS7_DETACHED;
|
$this->signOptions = $signOptions ?? PKCS7_DETACHED;
|
||||||
$this->extraCerts = $extraCerts ? realpath($extraCerts) : null;
|
$this->extraCerts = $extraCerts ? realpath($extraCerts) : null;
|
||||||
$this->privateKeyPassphrase = $privateKeyPassphrase;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function sign(Message $message): Message
|
public function sign(Message $message): Message
|
||||||
|
Reference in New Issue
Block a user