summaryrefslogtreecommitdiffstats
path: root/lib/l10n/string.php
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:22:01 +0200
committerThomas Mueller <thomas.mueller@tmit.eu>2012-09-07 15:22:01 +0200
commit3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch)
tree4dc24845a5eb31b17510a621e14c15b51f16bf7b /lib/l10n/string.php
parent785aa751bb5f9a4bcdd677b96207550482e17d3c (diff)
downloadnextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.tar.gz
nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.zip
adding space between) and {
Diffstat (limited to 'lib/l10n/string.php')
-rw-r--r--lib/l10n/string.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/l10n/string.php b/lib/l10n/string.php
index 4769790a16d..8eef10071e6 100644
--- a/lib/l10n/string.php
+++ b/lib/l10n/string.php
@@ -8,16 +8,16 @@
class OC_L10N_String{
protected $l10n;
- public function __construct($l10n, $text, $parameters){
+ public function __construct($l10n, $text, $parameters) {
$this->l10n = $l10n;
$this->text = $text;
$this->parameters = $parameters;
}
- public function __toString(){
+ public function __toString() {
$translations = $this->l10n->getTranslations();
- if(array_key_exists($this->text, $translations)){
+ if(array_key_exists($this->text, $translations)) {
return vsprintf($translations[$this->text], $this->parameters);
}
return vsprintf($this->text, $this->parameters);