summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/StorageTimeoutException.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Files/StorageTimeoutException.php')
-rw-r--r--lib/public/Files/StorageTimeoutException.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/public/Files/StorageTimeoutException.php b/lib/public/Files/StorageTimeoutException.php
index 16675710dff..b5566ada9b5 100644
--- a/lib/public/Files/StorageTimeoutException.php
+++ b/lib/public/Files/StorageTimeoutException.php
@@ -31,12 +31,11 @@ class StorageTimeoutException extends StorageNotAvailableException {
* StorageTimeoutException constructor.
*
* @param string $message
- * @param int $code
- * @param \Exception $previous
+ * @param \Exception|null $previous
* @since 9.0.0
*/
public function __construct($message = '', \Exception $previous = null) {
$l = \OC::$server->getL10N('core');
- parent::__construct($l->t('Storage connection timeout. %s', $message), self::STATUS_TIMEOUT, $previous);
+ parent::__construct($l->t('Storage connection timeout. %s', [$message]), self::STATUS_TIMEOUT, $previous);
}
}