aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/CalDAV/ResourceBooking
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/dav/lib/CalDAV/ResourceBooking
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/dav/lib/CalDAV/ResourceBooking')
-rw-r--r--apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php
index 481c576081e..bfe4e938a5d 100644
--- a/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php
+++ b/apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php
@@ -309,7 +309,7 @@ abstract class AbstractPrincipalBackend implements BackendInterface {
return $this->isAllowedToAccessResource($row, $usersGroups);
});
- $results[] = array_map(function ($row) {
+ $results[] = array_map(function ($row): string {
return $row['uri'];
}, $filteredRows);