summaryrefslogtreecommitdiffstats
path: root/apps/files_external/templates
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 /apps/files_external/templates
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 'apps/files_external/templates')
-rw-r--r--apps/files_external/templates/settings.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index 45d4ac8406c..04c33f73b8b 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -134,10 +134,10 @@
<?php p($l->t('Add storage')); ?>
</option>
<?php
- $sortedBackends = array_filter($_['backends'], function($backend) use ($_) {
+ $sortedBackends = array_filter($_['backends'], function ($backend) use ($_) {
return $backend->isVisibleFor($_['visibilityType']);
});
- uasort($sortedBackends, function($a, $b) {
+ uasort($sortedBackends, function ($a, $b) {
return strcasecmp($a->getText(), $b->getText());
});
?>
@@ -172,7 +172,7 @@
<p id="userMountingBackends"<?php if (!$_['allowUserMounting']): ?> class="hidden"<?php endif; ?>>
<?php
- $userBackends = array_filter($_['backends'], function($backend) {
+ $userBackends = array_filter($_['backends'], function ($backend) {
return $backend->isAllowedVisibleFor(BackendService::VISIBILITY_PERSONAL);
});
?>