From ffc94186204ca178779324d7804b20144d9061c2 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sat, 17 Sep 2016 18:16:25 +0200 Subject: [PATCH] [FeedExpander] Fix typos --- lib/FeedExpander.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/FeedExpander.php b/lib/FeedExpander.php index 4251abe..8a95099 100644 --- a/lib/FeedExpander.php +++ b/lib/FeedExpander.php @@ -25,15 +25,15 @@ abstract class FeedExpander extends BridgeAbstract { switch(true){ case isset($rssContent->item[0]): $this->debugMessage('Detected RSS 1.0 format'); - $this->feedType="RSS_1_0"; + $this->feedType = "RSS_1_0"; break; case isset($rssContent->channel[0]): $this->debugMessage('Detected RSS 0.9x or 2.0 format'); - $this->feedType="RSS_2_0"; + $this->feedType = "RSS_2_0"; break; case isset($rssContent->entry[0]): $this->debugMessage('Detected ATOM format'); - $this->feedType="ATOM_1_0"; + $this->feedType = "ATOM_1_0"; break; default: $this->debugMessage('Unknown feed format/version'); @@ -41,7 +41,7 @@ abstract class FeedExpander extends BridgeAbstract { break; } - $this->{'collect_'.$this->feedType.'_data'}($rssContent,$maxItems); + $this->{'collect_' . $this->feedType . '_data'}($rssContent, $maxItems); } protected function collect_RSS_1_0_data($rssContent, $maxItems){