return true;
}
- function onStartNoticeSourceLink($notice, &$name, &$url, &$title)
+ function onStartNoticeSourceLink(Notice $notice, &$name, &$url, &$title)
{
// If we don't handle this, keep the event handler going
if (!in_array($notice->source, array('linkback'))) {
* @param string out &$title
* @return mixed hook return code
*/
- function onStartNoticeSourceLink($notice, &$name, &$url, &$title)
+ function onStartNoticeSourceLink(Notice $notice, &$name, &$url, &$title)
{
// If we don't handle this, keep the event handler going
if (!in_array($notice->source, array('ostatus', 'share'))) {