Skip to content

Commit 42773de

Browse files
committed
docs: add param type
1 parent fe7e2e4 commit 42773de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/outgoing/view_cells.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Simple Cells are classes that return a string from the chosen method. An example
4242

4343
class AlertMessage
4444
{
45-
public function show($params): string
45+
public function show(array $params): string
4646
{
4747
return "<div class="alert alert-{$params['type']}">{$params['message']}</div>";
4848
}

0 commit comments

Comments
 (0)