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 {
|
class BasicAuth implements IAuth {
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $username;
|
private $username;
|
||||||
/** @var string */
|
/** @var string|null */
|
||||||
private $workgroup;
|
private $workgroup;
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $password;
|
private $password;
|
||||||
|
|
||||||
public function __construct(string $username, string $workgroup, string $password) {
|
public function __construct(string $username, ?string $workgroup, string $password) {
|
||||||
$this->username = $username;
|
$this->username = $username;
|
||||||
$this->workgroup = $workgroup;
|
$this->workgroup = $workgroup;
|
||||||
$this->password = $password;
|
$this->password = $password;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue