10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07604d7 commit 19f4620Copy full SHA for 19f4620
src/Symfony/Component/Notifier/Bridge/Firebase/FirebaseOptions.php
@@ -27,9 +27,9 @@ abstract class FirebaseOptions implements MessageOptionsInterface
27
*/
28
protected $options;
29
30
- protected $data;
+ private $data;
31
32
- public function __construct(string $to, array $options, array $data)
+ public function __construct(string $to, array $options, array $data = [])
33
{
34
$this->to = $to;
35
$this->options = $options;
@@ -41,6 +41,7 @@ public function toArray(): array
41
return [
42
'to' => $this->to,
43
'notification' => $this->options,
44
+ 'data' => $this->data,
45
];
46
}
47
0 commit comments