mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-10-02 01:24:06 +02:00
fixup stubs
This commit is contained in:
parent
bfbb443163
commit
14ba8beee2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue