fixup stubs

This commit is contained in:
Robin Appelman 2026-08-31 17:06:02 +02:00
commit 14ba8beee2

View file

@ -25,7 +25,7 @@ function smbclient_state_new() {
/**
* @param resource $state
*/
function smbclient_state_init($state, string $workgroup = null, string $user = null, string $password = null): bool {
function smbclient_state_init($state, ?string $workgroup = null, ?string $user = null, ?string $password = null): bool {
}
/**
@ -61,7 +61,7 @@ function smbclient_option_set($state, int $option, $value) {
* @param resource $state
* @return bool
*/
function smbclient_client_protocols($state, string $minproto = null, string $maxproto = null): bool {
function smbclient_client_protocols($state, ?string $minproto = null, ?string $maxproto = null): bool {
}
#endif