diff options
author | dartcafe <github@dartcafe.de> | 2021-11-14 10:12:06 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-11-26 11:23:42 +0300 |
commit | e1987ac3be7ea419619ba084df3d37be135f1712 (patch) | |
tree | 1630d51e9f35a5e054254f838df9e5c70ea4adf1 /lib/Service/ShareService.php | |
parent | 71d6ed9a192b0b5a1b02d49d3be7f8a93422f314 (diff) |
lint
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib/Service/ShareService.php')
-rw-r--r-- | lib/Service/ShareService.php | 2 |
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); |