File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
src/Symfony/Component/Notifier/Bridge/Mercure Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,22 @@ final class MercureOptions implements MessageOptionsInterface
22
22
23
23
/**
24
24
* @param string|string[]|null $topics
25
+ * @param array{
26
+ * actions?: array,
27
+ * badge?: string,
28
+ * body?: string,
29
+ * data?: mixed,
30
+ * dir?: 'auto'|'ltr'|'rtl',
31
+ * icon?: string,
32
+ * image?: string,
33
+ * lang?: string,
34
+ * renotify?: bool,
35
+ * requireInteraction?: bool,
36
+ * silent?: bool,
37
+ * tag?: string,
38
+ * timestamp?: int,
39
+ * vibrate?: int[],
40
+ * }|null $content
25
41
*/
26
42
public function __construct (
27
43
string |array |null $ topics = null ,
@@ -62,6 +78,24 @@ public function getRetry(): ?int
62
78
return $ this ->retry ;
63
79
}
64
80
81
+ /**
82
+ * @return array{
83
+ * actions?: array,
84
+ * badge?: string,
85
+ * body?: string,
86
+ * data?: mixed,
87
+ * dir?: 'auto'|'ltr'|'rtl',
88
+ * icon?: string,
89
+ * image?: string,
90
+ * lang?: string,
91
+ * renotify?: bool,
92
+ * requireInteraction?: bool,
93
+ * silent?: bool,
94
+ * tag?: string,
95
+ * timestamp?: int,
96
+ * vibrate?: int[],
97
+ * }|null
98
+ */
65
99
public function getContent (): ?array
66
100
{
67
101
return $ this ->content ;
You can’t perform that action at this time.
0 commit comments