Skip to content

Commit 9f25d5c

Browse files
committed
Update stubs
1 parent 5c4b46f commit 9f25d5c

23 files changed

+23
-23
lines changed

stubs/Zend/restore_error_handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function restore_error_handler() : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function restore_error_handler() : \true
8+
function restore_error_handler() : true
99
{
1010
}

stubs/Zend/restore_exception_handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function restore_exception_handler() : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function restore_exception_handler() : \true
8+
function restore_exception_handler() : true
99
{
1010
}

stubs/ext/mysqli/mysqli_close.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function mysqli_close(\mysqli $mysql) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function mysqli_close(\mysqli $mysql) : \true
8+
function mysqli_close(\mysqli $mysql) : true
99
{
1010
}

stubs/ext/mysqli/mysqli_debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function mysqli_debug(string $options) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function mysqli_debug(string $options) : \true
8+
function mysqli_debug(string $options) : true
99
{
1010
}

stubs/ext/mysqli/mysqli_ssl_set.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function mysqli_ssl_set(\mysqli $mysql, ?string $key, ?string $certificate, ?str
55
{
66
}
77
#[\Since('8.2')]
8-
function mysqli_ssl_set(\mysqli $mysql, ?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos) : \true
8+
function mysqli_ssl_set(\mysqli $mysql, ?string $key, ?string $certificate, ?string $ca_certificate, ?string $ca_path, ?string $cipher_algos) : true
99
{
1010
}

stubs/ext/mysqli/mysqli_stmt_close.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function mysqli_stmt_close(\mysqli_stmt $statement) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function mysqli_stmt_close(\mysqli_stmt $statement) : \true
8+
function mysqli_stmt_close(\mysqli_stmt $statement) : true
99
{
1010
}

stubs/ext/sodium/sodium_crypto_generichash_update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function sodium_crypto_generichash_update(string &$state, string $message) : boo
55
{
66
}
77
#[\Since('8.2')]
8-
function sodium_crypto_generichash_update(string &$state, string $message) : \true
8+
function sodium_crypto_generichash_update(string &$state, string $message) : true
99
{
1010
}

stubs/ext/standard/array_walk.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function array_walk(array|object &$array, callable $callback, mixed $arg = UNKNO
55
{
66
}
77
#[\Since('8.2')]
8-
function array_walk(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : \true
8+
function array_walk(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : true
99
{
1010
}

stubs/ext/standard/array_walk_recursive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function array_walk_recursive(array|object &$array, callable $callback, mixed $a
55
{
66
}
77
#[\Since('8.2')]
8-
function array_walk_recursive(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : \true
8+
function array_walk_recursive(array|object &$array, callable $callback, mixed $arg = UNKNOWN) : true
99
{
1010
}

stubs/ext/standard/arsort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function arsort(array &$array, int $flags = SORT_REGULAR) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function arsort(array &$array, int $flags = SORT_REGULAR) : \true
8+
function arsort(array &$array, int $flags = SORT_REGULAR) : true
99
{
1010
}

stubs/ext/standard/asort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function asort(array &$array, int $flags = SORT_REGULAR) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function asort(array &$array, int $flags = SORT_REGULAR) : \true
8+
function asort(array &$array, int $flags = SORT_REGULAR) : true
99
{
1010
}

stubs/ext/standard/closelog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function closelog() : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function closelog() : \true
8+
function closelog() : true
99
{
1010
}

stubs/ext/standard/krsort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function krsort(array &$array, int $flags = SORT_REGULAR) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function krsort(array &$array, int $flags = SORT_REGULAR) : \true
8+
function krsort(array &$array, int $flags = SORT_REGULAR) : true
99
{
1010
}

stubs/ext/standard/ksort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function ksort(array &$array, int $flags = SORT_REGULAR) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function ksort(array &$array, int $flags = SORT_REGULAR) : \true
8+
function ksort(array &$array, int $flags = SORT_REGULAR) : true
99
{
1010
}

stubs/ext/standard/openlog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ function openlog(string $prefix, int $flags, int $facility) : bool
99
/* syslog.c */
1010
#ifdef HAVE_SYSLOG_H
1111
#[\Since('8.2')]
12-
function openlog(string $prefix, int $flags, int $facility) : \true
12+
function openlog(string $prefix, int $flags, int $facility) : true
1313
{
1414
}

stubs/ext/standard/phpcredits.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function phpcredits(int $flags = CREDITS_ALL) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function phpcredits(int $flags = CREDITS_ALL) : \true
8+
function phpcredits(int $flags = CREDITS_ALL) : true
99
{
1010
}

stubs/ext/standard/phpinfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ function phpinfo(int $flags = INFO_ALL) : bool
66
}
77
/* info.c */
88
#[\Since('8.2')]
9-
function phpinfo(int $flags = INFO_ALL) : \true
9+
function phpinfo(int $flags = INFO_ALL) : true
1010
{
1111
}

stubs/ext/standard/shuffle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function shuffle(array &$array) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function shuffle(array &$array) : \true
8+
function shuffle(array &$array) : true
99
{
1010
}

stubs/ext/standard/sort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function sort(array &$array, int $flags = SORT_REGULAR) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function sort(array &$array, int $flags = SORT_REGULAR) : \true
8+
function sort(array &$array, int $flags = SORT_REGULAR) : true
99
{
1010
}

stubs/ext/standard/syslog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function syslog(int $priority, string $message) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function syslog(int $priority, string $message) : \true
8+
function syslog(int $priority, string $message) : true
99
{
1010
}

stubs/ext/standard/uasort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function uasort(array &$array, callable $callback) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function uasort(array &$array, callable $callback) : \true
8+
function uasort(array &$array, callable $callback) : true
99
{
1010
}

stubs/ext/standard/uksort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function uksort(array &$array, callable $callback) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function uksort(array &$array, callable $callback) : \true
8+
function uksort(array &$array, callable $callback) : true
99
{
1010
}

stubs/ext/standard/usort.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ function usort(array &$array, callable $callback) : bool
55
{
66
}
77
#[\Since('8.2')]
8-
function usort(array &$array, callable $callback) : \true
8+
function usort(array &$array, callable $callback) : true
99
{
1010
}

0 commit comments

Comments
 (0)