File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,28 +24,28 @@ public function __construct($serverKey)
24
24
$ this ->serverKey = $ serverKey ;
25
25
}
26
26
27
- public function to (array $ recipients )
27
+ public function to ($ recipients )
28
28
{
29
29
$ this ->recipients = $ recipients ;
30
30
31
31
return $ this ;
32
32
}
33
33
34
- public function toTopic (string $ topic )
34
+ public function toTopic ($ topic )
35
35
{
36
36
$ this ->topic = $ topic ;
37
37
38
38
return $ this ;
39
39
}
40
40
41
- public function data (array $ data = [])
41
+ public function data ($ data = [])
42
42
{
43
43
$ this ->data = $ data ;
44
44
45
45
return $ this ;
46
46
}
47
47
48
- public function notification (array $ notification = [])
48
+ public function notification ($ notification = [])
49
49
{
50
50
$ this ->notification = $ notification ;
51
51
@@ -59,7 +59,7 @@ public function priority(string $priority)
59
59
return $ this ;
60
60
}
61
61
62
- public function timeToLive (int $ timeToLive )
62
+ public function timeToLive ($ timeToLive )
63
63
{
64
64
if ($ timeToLive < 0 ) {
65
65
$ timeToLive = 0 ; // (0 seconds)
You can’t perform that action at this time.
0 commit comments