Permalink
Browse files

Merge branch 'hotfix/2968'

Fixes #2968
  • Loading branch information...
2 parents 3cc1b09 + 2d3c527 commit f642ecf40f686d4b7f6dc8224007aac0117c1d56 @weierophinney weierophinney committed Jan 4, 2013
@@ -45,7 +45,7 @@ public function getAuthor($index = 0)
/**
* Get an array with feed authors
*
- * @return array
+ * @return Collection\Author
*/
public function getAuthors()
{
@@ -73,7 +73,7 @@ public function getAuthors()
}
if (count($authors) == 0) {
- $authors = null;
+ $authors = new Collection\Author();
} else {
$authors = new Collection\Author(
Reader\Reader::arrayUnique($authors)
@@ -43,7 +43,7 @@ public function getAuthor($index = 0)
/**
* Get an array with feed authors
*
- * @return array
+ * @return Collection\Author
*/
public function getAuthors()
{
@@ -65,7 +65,7 @@ public function getAuthors()
}
if (count($authors) == 0) {
- $authors = null;
+ $authors = new Collection\Author();
} else {
$authors = new Collection\Author(
Reader\Reader::arrayUnique($authors)

0 comments on commit f642ecf

Please sign in to comment.