Permalink
Browse files

Merge branch 'hotfix/2968'

Fixes #2968
  • Loading branch information...
2 parents 3b1765d + 0b28596 commit 9a5dc06fce13f886398c77b47af90e30c4085e21 @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 9a5dc06

Please sign in to comment.