Skip to content

Commit

Permalink
Update lib/private/Files/Storage/Wrapper/Availability.php add void
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
  • Loading branch information
2 people authored and backportbot[bot] committed Nov 5, 2021
1 parent 3f08a6d commit 8206b38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/Storage/Wrapper/Availability.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public function getMetaData($path) {
/**
* @throws StorageNotAvailableException
*/
protected function setUnavailable(?StorageNotAvailableException $e) {
protected function setUnavailable(?StorageNotAvailableException $e): void {
$delay = self::RECHECK_TTL_SEC;
if ($e instanceof StorageAuthException) {
$delay = max(
Expand Down

0 comments on commit 8206b38

Please sign in to comment.