Permalink
Browse files

Merge branch 'hotfix/2968' into develop

Forward port #2968
  • Loading branch information...
2 parents 984ef04 + 0b28596 commit d1cea2fe00b7c1238f4d5afdbbba7a3b5fe641aa @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 d1cea2f

Please sign in to comment.