File tree 1 file changed +20
-1
lines changed
src/Symfony/Component/Notifier/Bridge/Mercure
1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,23 @@ final class MercureOptions implements MessageOptionsInterface
21
21
private ?array $ topics ;
22
22
23
23
/**
24
- * @param string|string[]|null $topics
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,9 @@ public function getRetry(): ?int
62
78
return $ this ->retry ;
63
79
}
64
80
81
+ /**
82
+ * @return array<string, string>|null
83
+ */
65
84
public function getContent (): ?array
66
85
{
67
86
return $ this ->content ;
You can’t perform that action at this time.
0 commit comments