Skip to content

Commit

Permalink
Merge pull request #15 from mattstauffer/patch-1
Browse files Browse the repository at this point in the history
Fix return type on Rss::fetch
  • Loading branch information
Mulkave authored Aug 3, 2020
2 parents 3062a25 + 8a8ea02 commit adac5fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Vinelab/Rss/Rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function __construct(XML $xml = null, HttpClient $http = null)
* @param string $url
* @param string $format
*
* @return ArticlesCollection
* @return FeedInterface
*/
public function feed($url, $format = 'xml') : ArticlesCollection
public function feed($url, $format = 'xml') : FeedInterface
{
return $this->parse($this->fetch($url), $format);
}
Expand Down

0 comments on commit adac5fe

Please sign in to comment.