ProfileMiniList->newListItem changed to match ProfileList->newListItem

This commit is contained in:
Mikael Nordfeldth 2016-01-05 00:09:47 +01:00
parent 701f6ff608
commit df8c14d66a

View File

@ -48,9 +48,9 @@ class ProfileMiniList extends ProfileList
$this->out->elementStart('ul', 'entities users xoxo');
}
function newListItem($profile)
function newListItem(Profile $target)
{
return new ProfileMiniListItem($profile, $this->action);
return new ProfileMiniListItem($target, $this->action);
}
function maxProfiles()