Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/Reader/AbstractEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ abstract class AbstractEntry
/**
* Entry instance
*
* @var Zend\Feed\Entry
* @var DOMElement
*/
protected $entry = null;

Expand Down Expand Up @@ -67,7 +67,7 @@ abstract class AbstractEntry
*
* @param DOMElement $entry
* @param int $entryKey
* @param string $type
* @param null|string $type
* @return void
*/
public function __construct(DOMElement $entry, $entryKey, $type = null)
Expand All @@ -78,7 +78,7 @@ public function __construct(DOMElement $entry, $entryKey, $type = null)
if ($type !== null) {
$this->data['type'] = $type;
} else {
$this->data['type'] = Reader::detectType($feed);
$this->data['type'] = Reader::detectType($entry);
}
$this->_loadExtensions();
}
Expand Down Expand Up @@ -157,7 +157,7 @@ public function getXpath()
* Set the XPath query
*
* @param DOMXPath $xpath
* @return Zend\Feed\Reader\AbstractEntry
* @return \Zend\Feed\Reader\AbstractEntry
*/
public function setXpath(DOMXPath $xpath)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Reader/AbstractFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function count()
/**
* Return the current entry
*
* @return \Zend\Feed\Reader\Entry
* @return \Zend\Feed\Reader\AbstractEntry
*/
public function current()
{
Expand Down
4 changes: 2 additions & 2 deletions src/Reader/Extension/AbstractEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function getType()
* Set the XPath query
*
* @param DOMXPath $xpath
* @return Reader\Reader_Extension_EntryAbstract
* @return AbstractEntry
*/
public function setXpath(DOMXPath $xpath)
{
Expand Down Expand Up @@ -221,7 +221,7 @@ public function getXpathPrefix()
* Set the XPath prefix
*
* @param string $prefix
* @return Reader\Reader_Extension_EntryAbstract
* @return AbstractEntry
*/
public function setXpathPrefix($prefix)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Reader/Extension/AbstractFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function toArray() // untested
* Set the XPath query
*
* @param DOMXPath $xpath
* @return Reader\Reader_Extension_EntryAbstract
* @return AbstractEntry
*/
public function setXpath(DOMXPath $xpath = null)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Reader/Extension/Atom/Entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ public function getCategories()
/**
* Get source feed metadata from the entry
*
* @return Reader\Reader_Feed_Atom_Source|null
* @return Reader\Feed\Atom\Source|null
*/
public function getSource()
{
Expand Down

0 comments on commit caf890d

Please sign in to comment.