Skip to content

Commit 12ae116

Browse files
committed
regenerated
1 parent 51d47ad commit 12ae116

22 files changed

+56
-56
lines changed

generated/apc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function apc_compile_file(string $filename, bool $atomic = true)
8282
*
8383
* @param string $key The key of the value being decreased.
8484
* @param int $step The step, or value to decrease.
85-
* @param bool $success Optionally pass the success or fail boolean value to
85+
* @param bool|null $success Optionally pass the success or fail boolean value to
8686
* this referenced variable.
8787
* @return int Returns the current value of key's value on success
8888
* @throws ApcException
@@ -164,7 +164,7 @@ function apc_delete_file($keys)
164164
* @throws ApcException
165165
*
166166
*/
167-
function apc_delete(string $key)
167+
function apc_delete($key)
168168
{
169169
error_clear_last();
170170
$result = \apc_delete($key);
@@ -180,7 +180,7 @@ function apc_delete(string $key)
180180
*
181181
* @param string $key The key of the value being increased.
182182
* @param int $step The step, or value to increase.
183-
* @param bool $success Optionally pass the success or fail boolean value to
183+
* @param bool|null $success Optionally pass the success or fail boolean value to
184184
* this referenced variable.
185185
* @return int Returns the current value of key's value on success
186186
* @throws ApcException

generated/apcu.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function apcu_cas(string $key, int $old, int $new): void
5151
*
5252
* @param string $key The key of the value being decreased.
5353
* @param int $step The step, or value to decrease.
54-
* @param bool $success Optionally pass the success or fail boolean value to
54+
* @param bool|null $success Optionally pass the success or fail boolean value to
5555
* this referenced variable.
5656
* @return int Returns the current value of key's value on success
5757
* @throws ApcuException
@@ -94,7 +94,7 @@ function apcu_delete($key): void
9494
*
9595
* @param string $key The key of the value being increased.
9696
* @param int $step The step, or value to increase.
97-
* @param bool $success Optionally pass the success or fail boolean value to
97+
* @param bool|null $success Optionally pass the success or fail boolean value to
9898
* this referenced variable.
9999
* @return int Returns the current value of key's value on success
100100
* @throws ApcuException

generated/com.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* @throws ComException
2727
*
2828
*/
29-
function com_event_sink(variant $comobject, object $sinkobject, $sinkinterface = null): void
29+
function com_event_sink(object $comobject, object $sinkobject, $sinkinterface = null): void
3030
{
3131
error_clear_last();
3232
if ($sinkinterface !== null) {

generated/filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ function filesize(string $filename): int
565565
* It is also possible to add LOCK_NB as a bitmask to one
566566
* of the above operations if you don't want flock to
567567
* block while locking.
568-
* @param int $wouldblock The optional third argument is set to 1 if the lock would block
568+
* @param int|null $wouldblock The optional third argument is set to 1 if the lock would block
569569
* (EWOULDBLOCK errno condition).
570570
* @throws FilesystemException
571571
*

generated/gmp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function gmp_binomial($n, int $k): \GMP
3434
* @throws GmpException
3535
*
3636
*/
37-
function gmp_export(\GMP $gmpnumber, int $word_size = 1, int $options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN): string
37+
function gmp_export($gmpnumber, int $word_size = 1, int $options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN): string
3838
{
3939
error_clear_last();
4040
$result = \gmp_export($gmpnumber, $word_size, $options);

generated/hash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function hash_hkdf(string $algo, string $ikm, int $length = 0, string $info = ''
5151
* @throws HashException
5252
*
5353
*/
54-
function hash_update_file(\HashContext $hcontext, string $filename, $scontext = null): void
54+
function hash_update_file(\HashContext $hcontext, string $filename, ?\HashContext $scontext = null): void
5555
{
5656
error_clear_last();
5757
$result = \hash_update_file($hcontext, $filename, $scontext);

generated/image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function imageaffinematrixconcat(array $m1, array $m2): array
175175
* @throws ImageException
176176
*
177177
*/
178-
function imageaffinematrixget(int $type, $options = null): array
178+
function imageaffinematrixget(int $type, array $options = null): array
179179
{
180180
error_clear_last();
181181
if ($options !== null) {

generated/imap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ function imap_gc($imap_stream, int $caches): void
419419
* @throws ImapException
420420
*
421421
*/
422-
function imap_headerinfo($imap_stream, int $msg_number, int $fromlength = 0, int $subjectlength = 0, ?string $defaulthost = null): object
422+
function imap_headerinfo($imap_stream, int $msg_number, int $fromlength = 0, int $subjectlength = 0, string $defaulthost = null): object
423423
{
424424
error_clear_last();
425425
$result = \imap_headerinfo($imap_stream, $msg_number, $fromlength, $subjectlength, $defaulthost);
@@ -835,7 +835,7 @@ function imap_num_msg($imap_stream): int
835835
* @throws ImapException
836836
*
837837
*/
838-
function imap_open(string $mailbox, string $username, string $password, int $options = 0, int $n_retries = 0, array $params = null)
838+
function imap_open(string $mailbox, string $username, string $password, int $options = 0, int $n_retries = 0, ?array $params = null)
839839
{
840840
error_clear_last();
841841
$result = \imap_open($mailbox, $username, $password, $options, $n_retries, $params);

generated/info.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function getmyuid(): int
266266
*
267267
* @param string $options
268268
* @param array $longopts
269-
* @param int $optind
269+
* @param int|null $optind
270270
* @return array|array|array This function will return an array of option / argument pairs.
271271
* @throws InfoException
272272
*
@@ -322,7 +322,7 @@ function ini_get(string $varname): string
322322
* @throws InfoException
323323
*
324324
*/
325-
function ini_set(string $varname, string $newvalue): string
325+
function ini_set(string $varname, $newvalue): string
326326
{
327327
error_clear_last();
328328
$result = \ini_set($varname, $newvalue);

generated/ldap.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function ldap_add($link_identifier, string $dn, array $entry, array $serverctrls
6666
* @throws LdapException
6767
*
6868
*/
69-
function ldap_bind_ext($link_identifier, ?string $bind_rdn = null, ?string $bind_password = null, array $serverctrls = null)
69+
function ldap_bind_ext($link_identifier, string $bind_rdn = null, string $bind_password = null, array $serverctrls = null)
7070
{
7171
error_clear_last();
7272
$result = \ldap_bind_ext($link_identifier, $bind_rdn, $bind_password, $serverctrls);
@@ -87,7 +87,7 @@ function ldap_bind_ext($link_identifier, ?string $bind_rdn = null, ?string $bind
8787
* @throws LdapException
8888
*
8989
*/
90-
function ldap_bind($link_identifier, ?string $bind_rdn = null, ?string $bind_password = null, array $serverctrls = null): void
90+
function ldap_bind($link_identifier, string $bind_rdn = null, string $bind_password = null, array $serverctrls = null): void
9191
{
9292
error_clear_last();
9393
$result = \ldap_bind($link_identifier, $bind_rdn, $bind_password, $serverctrls);
@@ -102,8 +102,8 @@ function ldap_bind($link_identifier, ?string $bind_rdn = null, ?string $bind_pas
102102
*
103103
* @param resource $link An LDAP link identifier, returned by ldap_connect.
104104
* @param resource $result
105-
* @param string $cookie An opaque structure sent by the server.
106-
* @param int $estimated The estimated number of entries to retrieve.
105+
* @param string|null $cookie An opaque structure sent by the server.
106+
* @param int|null $estimated The estimated number of entries to retrieve.
107107
* @throws LdapException
108108
*
109109
*/
@@ -264,7 +264,7 @@ function ldap_exop_whoami($link): string
264264
* @throws LdapException
265265
*
266266
*/
267-
function ldap_exop($link, string $reqoid, string $reqdata = null, ?array $serverctrls = null, string &$retdata = null, string &$retoid = null)
267+
function ldap_exop($link, string $reqoid, string $reqdata = null, array $serverctrls = null, string &$retdata = null, string &$retoid = null)
268268
{
269269
error_clear_last();
270270
$result = \ldap_exop($link, $reqoid, $reqdata, $serverctrls, $retdata, $retoid);

0 commit comments

Comments
 (0)