Skip to content

Commit c821886

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: Fix openssl_csr_export() stub
2 parents 1123183 + 16bf833 commit c821886

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
@@ -66,7 +66,7 @@ function openssl_pkcs12_read(string $pkcs12, &$certificates, string $passphrase)
6666

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

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

7272
/** @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: 320aca9647019329a42dc3e7937420610a8a4419 */
2+
* Stub hash: b820bb89ed3a0612473de268b057663ee237f876 */
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)