$this->out->elementStart('tbody');
}
- function newListItem($profile, $odd)
+ function newListItem(Profile $profile, $odd)
{
return new SortableGroupListItem($profile, $this->owner, $this->action, $odd);
}
function showJoinButton()
{
$user = $this->owner;
- if ($user) {
+ if ($user instanceof User) {
$this->out->elementStart('li', 'entity_subscribe');
// XXX: special-case for user looking at own
// subscriptions page