Update lib/private/Files/Storage/Wrapper/Availability.php add void

Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
Vincent Petry 2021-11-05 10:28:41 +01:00 committed by backportbot[bot]
parent 3f08a6da90
commit 8206b38f00

View file

@ -453,7 +453,7 @@ class Availability extends Wrapper {
/**
* @throws StorageNotAvailableException
*/
protected function setUnavailable(?StorageNotAvailableException $e) {
protected function setUnavailable(?StorageNotAvailableException $e): void {
$delay = self::RECHECK_TTL_SEC;
if ($e instanceof StorageAuthException) {
$delay = max(