Browse Source

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>
pull/25332/head
Vincent Petry 5 years ago
committed by GitHub
parent
commit
93fb33d863
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/private/Files/Storage/Wrapper/Availability.php

2
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(

Loading…
Cancel
Save