Index: branches/5.2.x/core/units/spam_reports/spam_report_eh.php =================================================================== diff -u -N -r14989 -r15065 --- branches/5.2.x/core/units/spam_reports/spam_report_eh.php (.../spam_report_eh.php) (revision 14989) +++ branches/5.2.x/core/units/spam_reports/spam_report_eh.php (.../spam_report_eh.php) (revision 15065) @@ -56,8 +56,10 @@ * Prefills missing fields * * @param kEvent $event + * @return void + * @access protected */ - function OnBeforeItemCreate(&$event) + protected function OnBeforeItemCreate(kEvent &$event) { parent::OnBeforeItemCreate($event); @@ -79,8 +81,10 @@ * Send e-mail after new spam report was created * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterItemCreate(&$event) + protected function OnAfterItemCreate(kEvent &$event) { parent::OnAfterItemCreate($event);