diff options
Diffstat (limited to 'lib/public/Files/StorageConnectionException.php')
-rw-r--r-- | lib/public/Files/StorageConnectionException.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Files/StorageConnectionException.php b/lib/public/Files/StorageConnectionException.php index d29398172e6..0f3f2e0e54c 100644 --- a/lib/public/Files/StorageConnectionException.php +++ b/lib/public/Files/StorageConnectionException.php @@ -35,7 +35,7 @@ class StorageConnectionException extends StorageNotAvailableException { * @param \Exception|null $previous * @since 9.0.0 */ - public function __construct($message = '', \Exception $previous = null) { + public function __construct($message = '', ?\Exception $previous = null) { $l = \OCP\Util::getL10N('core'); parent::__construct($l->t('Storage connection error. %s', [$message]), self::STATUS_NETWORK_ERROR, $previous); } |