You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param string|resource $certificate See Key/Certificate parameters for a list of valid values.
1349
+
* @param string|\OpenSSLCertificate $certificate See Key/Certificate parameters for a list of valid values.
1350
1350
* @param string $output_filename Path to the output file.
1351
1351
* @param bool $no_text
1352
1352
* The optional parameter notext affects
@@ -1371,7 +1371,7 @@ function openssl_x509_export_to_file($certificate, string $output_filename, bool
1371
1371
* certificate into a string named by
1372
1372
* output in a PEM encoded format.
1373
1373
*
1374
-
* @param string|resource $certificate See Key/Certificate parameters for a list of valid values.
1374
+
* @param string|\OpenSSLCertificate $certificate See Key/Certificate parameters for a list of valid values.
1375
1375
* @param string|null $output On success, this will hold the PEM.
1376
1376
* @param bool $no_text
1377
1377
* The optional parameter notext affects
@@ -1395,7 +1395,7 @@ function openssl_x509_export($certificate, ?string &$output, bool $no_text = tru
1395
1395
* openssl_x509_fingerprint returns the digest of
1396
1396
* certificate as a string.
1397
1397
*
1398
-
* @param string|resource $certificate See Key/Certificate parameters for a list of valid values.
1398
+
* @param string|\OpenSSLCertificate $certificate See Key/Certificate parameters for a list of valid values.
1399
1399
* @param string $digest_algo The digest method or hash algorithm to use, e.g. "sha256", one of openssl_get_md_methods.
1400
1400
* @param bool $binary When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits.
1401
1401
* @return string Returns a string containing the calculated certificate fingerprint as lowercase hexits unless binary is set to TRUE in which case the raw binary representation of the message digest is returned.
@@ -1420,12 +1420,12 @@ function openssl_x509_fingerprint($certificate, string $digest_algo = "sha1", bo
1420
1420
* certificate and returns an OpenSSLCertificate object for
1421
1421
* it.
1422
1422
*
1423
-
* @param string|resource $certificate X509 certificate. See Key/Certificate parameters for a list of valid values.
1424
-
* @return resource Returns an OpenSSLCertificate on success.
1423
+
* @param \OpenSSLCertificate|string $certificate X509 certificate. See Key/Certificate parameters for a list of valid values.
1424
+
* @return \OpenSSLCertificate Returns an OpenSSLCertificate on success.
'fgetcsv' => ['array|false|null', 'fp'=>'resource', 'length='=>'0|positive-int', 'delimiter='=>'string', 'enclosure='=>'string', 'escape='=>'string'], //phpstan default return type is too hard to analyse
0 commit comments