diff options
Diffstat (limited to 'lib/private/l10n/string.php')
-rw-r--r-- | lib/private/l10n/string.php | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/lib/private/l10n/string.php b/lib/private/l10n/string.php index 84d1603871f..9c93b8c5a64 100644 --- a/lib/private/l10n/string.php +++ b/lib/private/l10n/string.php @@ -26,28 +26,23 @@ */ class OC_L10N_String implements JsonSerializable { - /** - * @var OC_L10N - */ + /** @var \OC_L10N|\OC\L10N\L10N */ protected $l10n; - /** - * @var string - */ + /** @var string */ protected $text; - /** - * @var array - */ + /** @var array */ protected $parameters; - /** - * @var integer - */ + /** @var integer */ protected $count; /** - * @param OC_L10N $l10n + * @param \OC_L10N|\OC\L10N\L10N $l10n + * @param string|string[] $text + * @param array $parameters + * @param int $count */ public function __construct($l10n, $text, $parameters, $count = 1) { $this->l10n = $l10n; @@ -80,5 +75,4 @@ class OC_L10N_String implements JsonSerializable { public function jsonSerialize() { return $this->__toString(); } - } |