return false;
}
- function onEndShowNoticeOptionItems(NoticeListItem $nli)
+ function onEndShowNoticeOptionItems($nli)
{
+ // FIXME: Cannot use type-hint NoticeListItem as NoticeListItemAdapter exists, too!
+ assert(is_object($nli));
+
$profile = Profile::current();
if (!empty($profile) && $profile->hasRight(self::TRAINSPAM)) {