mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
more type hints
This commit is contained in:
parent
767f6b3f6f
commit
e9f6d00a93
28 changed files with 343 additions and 530 deletions
|
|
@ -22,19 +22,19 @@
|
|||
namespace Icewind\SMB;
|
||||
|
||||
class AnonymousAuth implements IAuth {
|
||||
public function getUsername() {
|
||||
public function getUsername(): ?string {
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getWorkgroup() {
|
||||
public function getWorkgroup(): ?string {
|
||||
return 'dummy';
|
||||
}
|
||||
|
||||
public function getPassword() {
|
||||
public function getPassword(): ?string {
|
||||
return null;
|
||||
}
|
||||
|
||||
public function getExtraCommandLineArguments() {
|
||||
public function getExtraCommandLineArguments(): string {
|
||||
return '-N';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue