}
}
- public function Prepare(&$page)
+ public function Prepare($page)
{
parent::Prepare($page);
$profile = $this->user->profile();
return new PlFlagSet($flags);
}
- public static function IsCandidate(User &$user, $candidate)
+ public static function IsCandidate(User $user, $candidate)
{
$profile = $user->profile();
if (!$profile) {