empty array wrappers
This commit is contained in:
parent
e76b191c4b
commit
2d3c19c254
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user