summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-11-05 10:28:41 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-11-05 14:06:18 +0000
commit8206b38f00ab9fcc2f34623119cb633c25ef3254 (patch)
tree70e21cc234a6bbe07bcd22ae634be80de3b20821
parent3f08a6da907c76440c04e6b59dbe794090ad920d (diff)
downloadnextcloud-server-8206b38f00ab9fcc2f34623119cb633c25ef3254.tar.gz
nextcloud-server-8206b38f00ab9fcc2f34623119cb633c25ef3254.zip
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>
-rw-r--r--lib/private/Files/Storage/Wrapper/Availability.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Storage/Wrapper/Availability.php b/lib/private/Files/Storage/Wrapper/Availability.php
index 1b532e3ba04..910ea369757 100644
--- a/lib/private/Files/Storage/Wrapper/Availability.php
+++ b/lib/private/Files/Storage/Wrapper/Availability.php
@@ -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(