We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17ee7f4 commit f69b183Copy full SHA for f69b183
1 file changed
src/Sign/JSignService.php
@@ -59,7 +59,11 @@ public function sign(JSignParam $params)
59
* unicode chars. As workaround, I changed the password certificate in
60
* memory.
61
*/
62
- private function repackCertificateIfPasswordIsUnicode(JSignParam $params, $cert, $pkey): void
+ private function repackCertificateIfPasswordIsUnicode(
63
+ JSignParam $params,
64
+ \OpenSSLCertificate|string $cert,
65
+ \OpenSSLAsymmetricKey|\OpenSSLCertificate|string $pkey,
66
+ ): void
67
{
68
if (!mb_detect_encoding($params->getPassword(), 'ASCII', true)) {
69
$password = md5(microtime());
0 commit comments