diff --git a/lib/Core/PodcastData/PodcastDataReader.php b/lib/Core/PodcastData/PodcastDataReader.php index 14d094f..16fad58 100644 --- a/lib/Core/PodcastData/PodcastDataReader.php +++ b/lib/Core/PodcastData/PodcastDataReader.php @@ -46,7 +46,7 @@ class PodcastDataReader { return $subscriptionChanges !== null; } - public function fetchPodcastData(string $url, string $userId): PodcastData { + public function fetchPodcastData(string $url, string $userId): ?PodcastData { if (!$this->userHasPodcast($url, $userId)) { return null; }