Skip to content

Commit

Permalink
Merge pull request #5267 from nextcloud/fix/psalm-error
Browse files Browse the repository at this point in the history
fix(psalm): getPassword may return null
  • Loading branch information
juliushaertl committed Jan 16, 2024
2 parents b5f174f + 877df10 commit 593fd8c
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 593fd8c

Please sign in to comment.