File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,13 @@ public static function message_part_frame($attrib)
349349 return html::iframe ($ attrib );
350350 }
351351
352- protected function send_html ($ contents , $ inline_warning = null )
352+ /**
353+ * @param $contents string Content to send as HTTP body.
354+ * @param $inline_warning string Something to inject into the beginning of the content.
355+ *
356+ * @return void
357+ */
358+ protected function send_html ($ contents , $ inline_warning = null ): void
353359 {
354360 $ rcmail = rcmail::get_instance ();
355361 $ rcmail ->output ->reset (true );
@@ -383,7 +389,14 @@ protected function send_html($contents, $inline_warning = null)
383389 $ rcmail ->output ->sendExit ();
384390 }
385391
386- protected function make_inline_warning ($ text , $ button_label = null , $ button_url = null )
392+ /**
393+ * @param $text string Text content
394+ * @param $button_label string Text for the optional button to append to the content
395+ * @param $button_url string URL of the button
396+
397+ * @return string HTML code as string
398+ */
399+ protected function make_inline_warning ($ text , $ button_label = null , $ button_url = null ): string
387400 {
388401 $ text = html::span (null , $ text );
389402
You can’t perform that action at this time.
0 commit comments