User->hasBlocked typing

This commit is contained in:
Mikael Nordfeldth 2016-03-02 00:04:31 +01:00
parent 99fbb181c1
commit 7ec69e4215

View File

@ -190,7 +190,7 @@ class User extends Managed_DataObject
return Sms_carrier::getKV('id', $this->carrier);
}
function hasBlocked($other)
function hasBlocked(Profile $other)
{
return $this->getProfile()->hasBlocked($other);
}