diff options
Diffstat (limited to 'lib/public/Files/StorageNotAvailableException.php')
-rw-r--r-- | lib/public/Files/StorageNotAvailableException.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/StorageNotAvailableException.php b/lib/public/Files/StorageNotAvailableException.php index 78b004f8518..a87ed500e02 100644 --- a/lib/public/Files/StorageNotAvailableException.php +++ b/lib/public/Files/StorageNotAvailableException.php @@ -83,7 +83,7 @@ class StorageNotAvailableException extends HintException { * @param \Exception|null $previous * @since 6.0.0 */ - public function __construct($message = '', $code = self::STATUS_ERROR, \Exception $previous = null) { + public function __construct($message = '', $code = self::STATUS_ERROR, ?\Exception $previous = null) { $l = \OCP\Util::getL10N('core'); parent::__construct($message, $l->t('Storage is temporarily not available'), $code, $previous); } |