summaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration/Resources/IProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Collaboration/Resources/IProvider.php')
-rw-r--r--lib/public/Collaboration/Resources/IProvider.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Collaboration/Resources/IProvider.php b/lib/public/Collaboration/Resources/IProvider.php
index 52ad2305cfe..3014305106f 100644
--- a/lib/public/Collaboration/Resources/IProvider.php
+++ b/lib/public/Collaboration/Resources/IProvider.php
@@ -69,10 +69,10 @@ interface IProvider {
* Can a user/guest access the collection
*
* @param IResource $resource
- * @param IUser $user
+ * @param IUser|null $user
* @return bool
* @since 16.0.0
*/
- public function canAccess(IResource $resource, IUser $user = null): bool;
+ public function canAccessResource(IResource $resource, ?IUser $user): bool;
}