summaryrefslogtreecommitdiffstats
path: root/lib/Command/Config/FeedAdd.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-11-20 20:52:54 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-25 18:47:38 +0100
commit2baa7a2b9136d4d4dc1e56dfc043cc71da3ee1df (patch)
treed8f970ce85442869ad9547f80f70153a31820563 /lib/Command/Config/FeedAdd.php
parent8b519cd234b1293e03ef288617287be1a30cfc75 (diff)
Make PHPstan stricter
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Command/Config/FeedAdd.php')
-rw-r--r--lib/Command/Config/FeedAdd.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Command/Config/FeedAdd.php b/lib/Command/Config/FeedAdd.php
index 4b4279267..52485c55a 100644
--- a/lib/Command/Config/FeedAdd.php
+++ b/lib/Command/Config/FeedAdd.php
@@ -2,6 +2,7 @@
declare(strict_types=1);
namespace OCA\News\Command\Config;
+use OCA\News\Db\Feed;
use OCA\News\Service\Exceptions\ServiceConflictException;
use OCA\News\Service\Exceptions\ServiceNotFoundException;
use OCA\News\Service\FeedServiceV2;
@@ -71,6 +72,7 @@ class FeedAdd extends Command
}
try {
+ /** @var Feed $feed */
$feed = $this->feedService->create(
$user,
$url,