Skip to content

Commit 16bf833

Browse files
mpesaricmb69
authored andcommitted
Fix openssl_csr_export() stub
Closes GH-8362.
1 parent 5655f1a commit 16bf833

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/openssl/openssl.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase)
5050

5151
function openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string $csr, string $output_filename, bool $no_text = true): bool {}
5252

53-
/** @param OpenSSLAsymmetricKey $output */
53+
/** @param string $output */
5454
function openssl_csr_export(OpenSSLCertificateSigningRequest|string $csr, &$output, bool $no_text = true): bool {}
5555

5656
/** @param OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key */

ext/openssl/openssl_arginfo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: b58bd453ee5bedc500fe0e81c00c6a8e0eca85a0 */
2+
* Stub hash: 90fe9bfde63940e050f74dd9dccae7773fc57eff */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_openssl_x509_export_to_file, 0, 2, _IS_BOOL, 0)
55
ZEND_ARG_OBJ_TYPE_MASK(0, certificate, OpenSSLCertificate, MAY_BE_STRING, NULL)

0 commit comments

Comments
 (0)