From 7180e11bdb3f27a1a282a137ca95279b39944b5b Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Wed, 6 Jan 2021 20:16:33 +0100 Subject: fixes done by psalm Signed-off-by: Benjamin Brahmer --- lib/Service/ImportService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Service/ImportService.php') diff --git a/lib/Service/ImportService.php b/lib/Service/ImportService.php index c3334fad2..e7b6ab7be 100644 --- a/lib/Service/ImportService.php +++ b/lib/Service/ImportService.php @@ -71,9 +71,9 @@ class ImportService * @param string $userId * @param array $json * - * @return array|null + * @return \OCP\AppFramework\Db\Entity|null */ - public function importArticles(string $userId, array $json) + public function importArticles(string $userId, array $json): ?\OCP\AppFramework\Db\Entity { $url = 'http://nextcloud/nofeed'; -- cgit v1.2.3