diff --git a/Classes/Domain/Model/Client/ClientConfiguration.php b/Classes/Domain/Model/Client/ClientConfiguration.php index 81f9aae..1bf0215 100644 --- a/Classes/Domain/Model/Client/ClientConfiguration.php +++ b/Classes/Domain/Model/Client/ClientConfiguration.php @@ -38,12 +38,12 @@ class ClientConfiguration protected $scheme = 'http'; /** - * @var string + * @var string|null */ protected $username = ''; /** - * @var string + * @var string|null */ protected $password = ''; @@ -107,9 +107,9 @@ public function setScheme(string $scheme): void /** * Returns username * - * @return string + * @return string|null */ - public function getUsername(): string + public function getUsername(): ?string { return $this->username; } @@ -117,10 +117,10 @@ public function getUsername(): string /** * Sets username * - * @param string $username + * @param string|null $username * @return void */ - public function setUsername(string $username): void + public function setUsername(?string $username): void { $this->username = $username; } @@ -128,9 +128,9 @@ public function setUsername(string $username): void /** * Returns password * - * @return string + * @return string|null */ - public function getPassword(): string + public function getPassword(): ?string { return $this->password; } @@ -138,10 +138,10 @@ public function getPassword(): string /** * Sets password * - * @param string $password + * @param string|null $password * @return void */ - public function setPassword(string $password): void + public function setPassword(?string $password): void { $this->password = $password; }