Skip to content

Commit 6a861fa

Browse files
jkuchardg
authored andcommitted
Control::flashMessage: allow HtmlStringable as a message
1 parent 6d81a0e commit 6a861fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Application/UI/Control.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public function templatePrepareFilters(Template $template): void
9393

9494
/**
9595
* Saves the message to template, that can be displayed after redirect.
96-
* @param string|\stdClass $message
96+
* @param string|\stdClass|Nette\HtmlStringable $message
9797
*/
9898
public function flashMessage($message, string $type = 'info'): \stdClass
9999
{

0 commit comments

Comments
 (0)