summaryrefslogtreecommitdiffstats
path: root/apps/accessibility
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2021-02-14 12:43:31 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-02-14 12:43:31 +0100
commite62790cfe2408e6fb018e9848315bb400bcb8846 (patch)
tree4530a5918860fff0582ee730192a113910d00cbf /apps/accessibility
parentd93a3665a06d40bdeeb70b9de9a990a93597fae5 (diff)
downloadnextcloud-server-e62790cfe2408e6fb018e9848315bb400bcb8846.tar.gz
nextcloud-server-e62790cfe2408e6fb018e9848315bb400bcb8846.zip
Add some closure return types
Found by psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/accessibility')
-rw-r--r--apps/accessibility/lib/Controller/ConfigController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/accessibility/lib/Controller/ConfigController.php b/apps/accessibility/lib/Controller/ConfigController.php
index 5f2f77ed3e1..b918b33f31b 100644
--- a/apps/accessibility/lib/Controller/ConfigController.php
+++ b/apps/accessibility/lib/Controller/ConfigController.php
@@ -117,7 +117,7 @@ class ConfigController extends OCSController {
$highcontrast = [$this->accessibilityProvider->getHighContrast()];
$fonts = $this->accessibilityProvider->getFonts();
- $availableOptions = array_map(function ($option) {
+ $availableOptions = array_map(function ($option): string {
return $option['id'];
}, array_merge($themes, $highcontrast, $fonts));