Skip to content

Commit

Permalink
Merge pull request #21 from geekish/master
Browse files Browse the repository at this point in the history
Fix deprecation error
  • Loading branch information
nicolus authored Aug 10, 2020
2 parents 7c1057d + ed629b7 commit 9c5828e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/PicoFeed/Serialization/SubscriptionParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ protected function findSiteUrl()
*/
protected function findType()
{
return isset($this->outlineElement['version']) ? (string) $this->outlineElement['version'] :
isset($this->outlineElement['type']) ? (string) $this->outlineElement['type'] : 'rss';
return (isset($this->outlineElement['version']) ? (string) $this->outlineElement['version'] :
isset($this->outlineElement['type'])) ? (string) $this->outlineElement['type'] : 'rss';
}

/**
Expand Down

0 comments on commit 9c5828e

Please sign in to comment.