mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
psalm fixes
This commit is contained in:
parent
05cc363c9f
commit
4a93467905
12 changed files with 61 additions and 33 deletions
|
|
@ -33,7 +33,7 @@ class BasicAuth implements IAuth {
|
|||
}
|
||||
|
||||
public function getExtraCommandLineArguments(): string {
|
||||
return ($this->workgroup) ? '-W ' . escapeshellarg($this->workgroup) : '';
|
||||
return ($this->workgroup !== null) ? '-W ' . escapeshellarg($this->workgroup) : '';
|
||||
}
|
||||
|
||||
public function setExtraSmbClientOptions($smbClientState): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue