Skip to content

Commit

Permalink
fix(psalm): getPassword may return null
Browse files Browse the repository at this point in the history
Signed-off-by: Max <[email protected]>
  • Loading branch information
max-nextcloud committed Jan 15, 2024
1 parent bf9e40e commit 877df10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/PublicSessionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private function getShare(): IShare {
return $this->share;
}

protected function getPasswordHash(): string {
protected function getPasswordHash(): ?string {
return $this->getShare()->getPassword();
}

Expand Down

0 comments on commit 877df10

Please sign in to comment.