Skip to content

Commit

Permalink
Update stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot committed Sep 29, 2024
1 parent e33a7dc commit 0013252
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stubs/ext/openssl/openssl_csr_new.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<?php

/** @param OpenSSLAsymmetricKey $private_key */
#[\Until('8.2')]
function openssl_csr_new(array $distinguished_names, &$private_key, ?array $options = null, ?array $extra_attributes = null): \OpenSSLCertificateSigningRequest|false
{
}
/**
* @param OpenSSLAsymmetricKey|null $private_key
*/
#[\Since('8.2')]
function openssl_csr_new(array $distinguished_names, #[\SensitiveParameter] &$private_key, ?array $options = null, ?array $extra_attributes = null): \OpenSSLCertificateSigningRequest|bool
{
}

0 comments on commit 0013252

Please sign in to comment.