Skip to content

Commit

Permalink
fix for the method return type of the user and password method of con…
Browse files Browse the repository at this point in the history
…fig storage
  • Loading branch information
hkulekci committed Jun 15, 2022
1 parent dd20e83 commit ee71b0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ElasticSearch/Config/Storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@ public function hosts(): array
}

/**
* @return string
* @return ?string
*/
public function user(): string
public function user(): ?string
{
return $this->loadConfig('user');
}

/**
* @return string
* @return ?string
*/
public function password(): string
public function password(): ?string
{
return $this->loadConfig('password');
}
Expand Down

0 comments on commit ee71b0f

Please sign in to comment.