*/ public function execute(Feed $feed): Collection { if ($feed->type === 'rss') { return $this->fetchRssArticles->execute($feed); } elseif ($feed->type === 'website') { return $this->fetchWebsiteArticles->execute($feed); } $this->logSaver->warning('Unsupported feed type', null, [ 'feed_id' => $feed->id, 'feed_type' => $feed->type, ]); return collect(); } }