From 54e39d4b93b36d38c5f46ef5de4711de48baa0af Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 8 Feb 2017 11:55:50 +0100 Subject: Fix files sharing legacy as well Signed-off-by: Joas Schilling --- apps/files/lib/Activity/Provider.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/files/lib/Activity') diff --git a/apps/files/lib/Activity/Provider.php b/apps/files/lib/Activity/Provider.php index 624021177fa..3efab382640 100644 --- a/apps/files/lib/Activity/Provider.php +++ b/apps/files/lib/Activity/Provider.php @@ -251,7 +251,7 @@ class Provider implements IProvider { } /** - * @param $parameter + * @param array|string $parameter * @param IEvent|null $event * @return array * @throws \InvalidArgumentException @@ -277,6 +277,10 @@ class Provider implements IProvider { ]; } + /** + * @param string $uid + * @return array + */ protected function getUser($uid) { if (!isset($this->displayNames[$uid])) { $this->displayNames[$uid] = $this->getDisplayName($uid); -- cgit v1.2.3