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
1 changed files with 2 additions and 2 deletions

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()