summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:53:40 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 13:54:22 +0200
commitafbd9c4e6ed834e713039f2cff88ba3eec03dadb (patch)
tree7d8721cf8fc0329d6b750db63798de67a162b090 /lib/private/L10N
parent19e97e86c69ab128191439d6a17dacb5a630cf98 (diff)
downloadnextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.tar.gz
nextcloud-server-afbd9c4e6ed834e713039f2cff88ba3eec03dadb.zip
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/L10N')
-rw-r--r--lib/private/L10N/Factory.php4
-rw-r--r--lib/private/L10N/L10N.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php
index 91420b8d766..2902136e62e 100644
--- a/lib/private/L10N/Factory.php
+++ b/lib/private/L10N/Factory.php
@@ -114,7 +114,7 @@ class Factory implements IFactory {
* @return \OCP\IL10N
*/
public function get($app, $lang = null, $locale = null) {
- return new LazyL10N(function() use ($app, $lang, $locale) {
+ return new LazyL10N(function () use ($app, $lang, $locale) {
$app = \OC_App::cleanAppId($app);
if ($lang !== null) {
@@ -369,7 +369,7 @@ class Factory implements IFactory {
}
$locales = $this->findAvailableLocales();
- $userLocale = array_filter($locales, function($value) use ($locale) {
+ $userLocale = array_filter($locales, function ($value) use ($locale) {
return $locale === $value['code'];
});
diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php
index 519ff45292b..ee339ba8840 100644
--- a/lib/private/L10N/L10N.php
+++ b/lib/private/L10N/L10N.php
@@ -221,7 +221,7 @@ class L10N implements IL10N {
public function getPluralFormFunction(): \Closure {
if (\is_null($this->pluralFormFunction)) {
$lang = $this->getLanguageCode();
- $this->pluralFormFunction = function($n) use ($lang) {
+ $this->pluralFormFunction = function ($n) use ($lang) {
return PluralizationRules::get($n, $lang);
};
}