From 14ba8beee214ceb22d83daf0a5112bc31c192e33 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 31 Aug 2026 17:06:02 +0200 Subject: [PATCH] fixup stubs --- stubs/smbclient.stub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/smbclient.stub b/stubs/smbclient.stub index 97e0a0e..d12ed75 100644 --- a/stubs/smbclient.stub +++ b/stubs/smbclient.stub @@ -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