Skip to content

Commit

Permalink
Fix deprecation error
Browse files Browse the repository at this point in the history
geekish committed Jul 31, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 7c1057d commit ed629b7
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
@@ -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';
}

/**

0 comments on commit ed629b7

Please sign in to comment.