diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2021-02-14 12:43:31 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2021-02-14 12:43:31 +0100 |
commit | e62790cfe2408e6fb018e9848315bb400bcb8846 (patch) | |
tree | 4530a5918860fff0582ee730192a113910d00cbf /apps/dav/lib/CalDAV/ResourceBooking | |
parent | d93a3665a06d40bdeeb70b9de9a990a93597fae5 (diff) | |
download | nextcloud-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.php | 2 |
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); |