We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7c84e commit 2c85eb7Copy full SHA for 2c85eb7
stubs/openssl.stub
@@ -1,13 +1,18 @@
1
<?php
2
3
/**
4
+ * @param string $data
5
+ * @param string &$signature
6
+ * @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key
7
+ * @param string|int $algorithm
8
+ *
9
* @param-out string $signature
10
11
+ * @return bool
12
*/
13
function openssl_sign(
14
string $data,
- string &$signature,
- #[\SensitiveParameter] \OpenSSLAsymmetricKey|\OpenSSLCertificate|array|string $private_key,
15
+ &$signature,
16
+ #[LanguageLevelTypeAware(['8.0' => 'OpenSSLAsymmetricKey|OpenSSLCertificate|array|string'], default: 'resource|array|string')] $private_key,
17
string|int $algorithm = OPENSSL_ALGO_SHA1
-): bool
-{
-}
18
+): bool {}
0 commit comments