From: Roland Haeder Date: Mon, 25 Jan 2016 14:50:45 +0000 (+0100) Subject: Added type-hint for StartShowNoticeFormData hook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8e9baecfb36c24ac337f57e3df08e928fa0240d;p=quix0rs-gnu-social.git Added type-hint for StartShowNoticeFormData hook Signed-off-by: Roland Haeder --- diff --git a/plugins/NoticeTitle/NoticeTitlePlugin.php b/plugins/NoticeTitle/NoticeTitlePlugin.php index 2dbaa35672..ee0475da74 100644 --- a/plugins/NoticeTitle/NoticeTitlePlugin.php +++ b/plugins/NoticeTitle/NoticeTitlePlugin.php @@ -105,7 +105,7 @@ class NoticeTitlePlugin extends Plugin * * @return boolean hook value */ - function onStartShowNoticeFormData($form) + function onStartShowNoticeFormData(Form $form) { if ($this->isAllowedRichEdit()) { $form->out->element('style',