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