Matching inherited function definition

This commit is contained in:
Mikael Nordfeldth 2016-03-27 15:01:08 +02:00
parent 2d0153195e
commit 97d177f42a

View File

@ -158,9 +158,9 @@ class SelftagAction extends Action
class SelfTagProfileList extends ProfileList
{
function newListItem($profile)
function newListItem(Profile $target)
{
return new SelfTagProfileListItem($profile, $this->action);
return new SelfTagProfileListItem($target, $this->action);
}
}