Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-11-14 10:12:06 +0300
committerdartcafe <github@dartcafe.de>2021-11-26 11:23:42 +0300
commite1987ac3be7ea419619ba084df3d37be135f1712 (patch)
tree1630d51e9f35a5e054254f838df9e5c70ea4adf1 /lib/Service/ShareService.php
parent71d6ed9a192b0b5a1b02d49d3be7f8a93422f314 (diff)
lint
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/Service/ShareService.php')
-rw-r--r--lib/Service/ShareService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/ShareService.php b/lib/Service/ShareService.php
index a5891cc5..1c1dab1e 100644
--- a/lib/Service/ShareService.php
+++ b/lib/Service/ShareService.php
@@ -134,7 +134,7 @@ class ShareService {
private function sortByCategory() : void {
$sortedShares = [];
foreach (Share::TYPE_SORT_ARRAY as $shareType) {
- $filteredShares = array_filter($this->shares, function($share) use ($shareType) {
+ $filteredShares = array_filter($this->shares, function ($share) use ($shareType) {
return $share->getType() === $shareType;
});
$sortedShares = array_merge($sortedShares, $filteredShares);