[Mime] Remove unused var
This commit is contained in:
parent
fe61dd5c19
commit
86613797d1
@ -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