empty array wrappers

This commit is contained in:
Evan Prodromou 2012-03-21 16:28:40 -04:00
parent e76b191c4b
commit 2d3c19c254
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class GroupNoticeStream extends ScopingNoticeStream
function getNotices($offset, $limit, $sinceId = null, $maxId = null)
{
if ($this->impossibleStream()) {
return array();
return new ArrayWrapper(array());
} else {
return parent::getNotices($offset, $limit, $sinceId, $maxId);
}

View File

@ -74,7 +74,7 @@ class ProfileNoticeStream extends ScopingNoticeStream
function getNotices($offset, $limit, $sinceId = null, $maxId = null)
{
if ($this->impossibleStream()) {
return array();
return new ArrayWrapper(array());
} else {
return parent::getNotices($offset, $limit, $sinceId, $maxId);
}