diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2021-01-06 20:16:33 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-01-08 22:45:10 +0100 |
commit | 7180e11bdb3f27a1a282a137ca95279b39944b5b (patch) | |
tree | 17fd8152b8fabcb760395b45b5e47e66022304a9 /lib/Service/ImportService.php | |
parent | cc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (diff) |
fixes done by psalm
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
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'; |