summaryrefslogtreecommitdiffstats
path: root/lib/Service/ImportService.php
diff options
context:
space:
mode:
authorBenjamin Brahmer <info@b-brahmer.de>2021-01-06 20:16:33 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-01-08 22:45:10 +0100
commit7180e11bdb3f27a1a282a137ca95279b39944b5b (patch)
tree17fd8152b8fabcb760395b45b5e47e66022304a9 /lib/Service/ImportService.php
parentcc582c5dc8f5c5ec7052f4e2cab8530b9307afaa (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.php4
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';