diff options
Diffstat (limited to 'lib/Service/ImportService.php')
-rw-r--r-- | lib/Service/ImportService.php | 4 |
1 files changed, 2 insertions, 2 deletions
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'; |