gnu-social/lib/groupmemberlist.php
Chimo dc7c64592b Add var type to newListItem() parameter
Fixes some "Declaration of $child::method should be compatible with
$parent::method" warnings.
2017-03-16 22:57:16 -04:00

20 lines
391 B
PHP

<?php
// @todo FIXME: add documentation.
class GroupMemberList extends ProfileList
{
var $group = null;
function __construct($profile, $group, $action)
{
parent::__construct($profile, $action);
$this->group = $group;
}
function newListItem(Profile $profile)
{
return new GroupMemberListItem($profile, $this->group, $this->action);
}
}