}
}
- function _fromRssItem($item, $rss)
+ function _fromRssItem($item, $channel)
{
$verbEl = $this->_child($item, self::VERB);
$dcCreatorEl = $this->_child($item, self::CREATOR, self::DC);
if (!empty($dcCreatorEl)) {
$this->actor = ActivityObject::fromDcCreator($dcCreatorEl);
- } else if (!empty($rss)) {
- $this->actor = ActivityObject::fromRssChannel($rss);
+ } else if (!empty($channel)) {
+ $this->actor = ActivityObject::fromRssChannel($channel);
}
}