diff options
author | Joas Schilling <coding@schilljs.com> | 2019-02-22 17:11:09 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 22:57:00 +0300 |
commit | fdfe984adbfa8887fb743bed1d1c61f01a9a283a (patch) | |
tree | a00c8a5b87abec626f04a3a9757f271c0bd3a1f5 /lib/public/Collaboration | |
parent | 752276fd892557278206ccdab3293c7d59a9e7dd (diff) |
Register providers via class names
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public/Collaboration')
-rw-r--r-- | lib/public/Collaboration/Resources/IManager.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Collaboration/Resources/IManager.php b/lib/public/Collaboration/Resources/IManager.php index a04edaf9f8c..fe694bbffbc 100644 --- a/lib/public/Collaboration/Resources/IManager.php +++ b/lib/public/Collaboration/Resources/IManager.php @@ -114,7 +114,8 @@ interface IManager extends IProvider { public function getResourceForUser(string $type, string $id, ?IUser $user): IResource; /** - * @param IProvider $provider + * @param string $provider + * @since 16.0.0 */ - public function registerResourceProvider(IProvider $provider): void; + public function registerResourceProvider(string $provider): void; } |