File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
src/Symfony/Component/Notifier/Bridge/Mercure Expand file tree Collapse file tree 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
2121 private ?array $ topics ;
2222
2323 /**
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
2541 */
2642 public function __construct (
2743 string |array |null $ topics = null ,
@@ -62,6 +78,9 @@ public function getRetry(): ?int
6278 return $ this ->retry ;
6379 }
6480
81+ /**
82+ * @return array<string, string>|null
83+ */
6584 public function getContent (): ?array
6685 {
6786 return $ this ->content ;
You can’t perform that action at this time.
0 commit comments