mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
workgroup can be null
This commit is contained in:
parent
78b0321887
commit
1e7e500b64
1 changed files with 2 additions and 2 deletions
|
|
@ -24,12 +24,12 @@ namespace Icewind\SMB;
|
|||
class BasicAuth implements IAuth {
|
||||
/** @var string */
|
||||
private $username;
|
||||
/** @var string */
|
||||
/** @var string|null */
|
||||
private $workgroup;
|
||||
/** @var string */
|
||||
private $password;
|
||||
|
||||
public function __construct(string $username, string $workgroup, string $password) {
|
||||
public function __construct(string $username, ?string $workgroup, string $password) {
|
||||
$this->username = $username;
|
||||
$this->workgroup = $workgroup;
|
||||
$this->password = $password;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue