$this->group = $group;
}
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new GroupBlockListItem($profile, $this->group, $this->action);
}
// @todo FIXME: documentation missing.
class GroupQueueList extends GroupMemberList
{
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new GroupQueueListItem($profile, $this->group, $this->action);
}
$this->terms = $terms;
}
- function newListItem($notice)
+ function newListItem(Notice $notice)
{
return new SearchNoticeListItem($notice, $this->out, $this->terms);
}
$this->peopletag = $peopletag;
}
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new PeopletagMemberListItem($profile, $this->peopletag, $this->action);
}
$this->peopletag = $peopletag;
}
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new PeopletagSubscriberListItem($profile, $this->peopletag, $this->action);
}
$this->group = $group;
}
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new GroupMemberListItem($profile, $this->group, $this->action);
}
*
* @return NoticeListItem a list item to show
*/
- function newListItem($notice)
+ function newListItem(Notice $notice)
{
return new ConversationTreeItem($notice, $this->out);
}
class FavoritesNoticeList extends NoticeList
{
- function newListItem($notice)
+ function newListItem(Notice $notice)
{
return new FavoritesNoticeListItem($notice, $this->out);
}
class SearchSubscriptionsList extends SubscriptionList
{
- function newListItem($searchsub)
+ function newListItem(Profile $searchsub)
{
return new SearchSubscriptionsListItem($searchsub, $this->owner, $this->action);
}
class TagSubscriptionsList extends SubscriptionList
{
- function newListItem($tagsub)
+ function newListItem(Profile $tagsub)
{
return new TagSubscriptionsListItem($tagsub, $this->owner, $this->action);
}
*
* @return ProfileListItem newly-created item
*/
- function newListItem($profile)
+ function newListItem(Profile $profile)
{
return new FlaggedProfileListItem($this->profile, $this->action);
}