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

Commit

Permalink
Merge branch 'hotfix/2968'
Browse files Browse the repository at this point in the history
Fixes #2968
  • Loading branch information
weierophinney committed Jan 4, 2013
2 parents 3cc1b09 + 2d3c527 commit f642ecf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/Zend/Feed/Reader/Extension/Atom/Entry.php
Expand Up @@ -45,7 +45,7 @@ public function getAuthor($index = 0)
/** /**
* Get an array with feed authors * Get an array with feed authors
* *
* @return array * @return Collection\Author
*/ */
public function getAuthors() public function getAuthors()
{ {
Expand Down Expand Up @@ -73,7 +73,7 @@ public function getAuthors()
} }


if (count($authors) == 0) { if (count($authors) == 0) {
$authors = null; $authors = new Collection\Author();
} else { } else {
$authors = new Collection\Author( $authors = new Collection\Author(
Reader\Reader::arrayUnique($authors) Reader\Reader::arrayUnique($authors)
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Feed/Reader/Extension/Atom/Feed.php
Expand Up @@ -43,7 +43,7 @@ public function getAuthor($index = 0)
/** /**
* Get an array with feed authors * Get an array with feed authors
* *
* @return array * @return Collection\Author
*/ */
public function getAuthors() public function getAuthors()
{ {
Expand All @@ -65,7 +65,7 @@ public function getAuthors()
} }


if (count($authors) == 0) { if (count($authors) == 0) {
$authors = null; $authors = new Collection\Author();
} else { } else {
$authors = new Collection\Author( $authors = new Collection\Author(
Reader\Reader::arrayUnique($authors) Reader\Reader::arrayUnique($authors)
Expand Down

0 comments on commit f642ecf

Please sign in to comment.