[FeedExpander] Fix typos

This commit is contained in:
logmanoriginal 2016-09-17 18:16:25 +02:00
parent a333226733
commit ffc9418620

View file

@ -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){