Permalink
Browse files

Merge branch 'hotfix/2968' into develop

Forward port #2968
  • Loading branch information...
2 parents e31875c + 2d3c527 commit 7ec0ac7bb657934506a61cba7738fa029819868a @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 7ec0ac7

Please sign in to comment.