summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/L10NString.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-07-19 20:21:05 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-01 08:20:16 +0200
commit0fa49db77049712c6ecd249921235efd9776318b (patch)
treedd2e7b01135c2fdaec3c67b5219a453ef4c0faba /lib/private/L10N/L10NString.php
parent66b82087915b53a98d5b84062ced6e59712698a2 (diff)
downloadnextcloud-server-0fa49db77049712c6ecd249921235efd9776318b.tar.gz
nextcloud-server-0fa49db77049712c6ecd249921235efd9776318b.zip
Some more invalid PHPDocs in legacy classes
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/private/L10N/L10NString.php')
-rw-r--r--lib/private/L10N/L10NString.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/L10NString.php b/lib/private/L10N/L10NString.php
index fd2f14f9f28..75fcd7f5e44 100644
--- a/lib/private/L10N/L10NString.php
+++ b/lib/private/L10N/L10NString.php
@@ -73,7 +73,7 @@ class L10NString implements \JsonSerializable {
}
// Replace %n first (won't interfere with vsprintf)
- $text = str_replace('%n', $this->count, $text);
+ $text = str_replace('%n', (string)$this->count, $text);
return vsprintf($text, $this->parameters);
}