phpstan fixes

This commit is contained in:
Robin Appelman 2025-10-25 21:43:15 +02:00
commit 5d37f6813d
10 changed files with 24 additions and 86 deletions

View file

@ -20,7 +20,7 @@ final class BasicAuth implements IAuth {
$this->password = $password;
}
public function getUsername(): ?string {
public function getUsername(): string {
return $this->username;
}
@ -28,7 +28,7 @@ final class BasicAuth implements IAuth {
return $this->workgroup;
}
public function getPassword(): ?string {
public function getPassword(): string {
return $this->password;
}