diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-07-19 19:44:10 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-08-01 08:20:16 +0200 |
commit | dfd8125aeb4a95df20041890dcffd50ba2592fee (patch) | |
tree | c9c9aaf0b7c4e2244b0d5752576453080acddf7e /lib/public/Files/StorageTimeoutException.php | |
parent | 10414d2e7d9f5605057d7432e899829bc5ba1dcd (diff) | |
download | nextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.tar.gz nextcloud-server-dfd8125aeb4a95df20041890dcffd50ba2592fee.zip |
Replace wrong PHPDocs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/public/Files/StorageTimeoutException.php')
-rw-r--r-- | lib/public/Files/StorageTimeoutException.php | 5 |
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); } } |