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)
2424 $ this ->serverKey = $ serverKey ;
2525 }
2626
27- public function to (array $ recipients )
27+ public function to ($ recipients )
2828 {
2929 $ this ->recipients = $ recipients ;
3030
3131 return $ this ;
3232 }
3333
34- public function toTopic (string $ topic )
34+ public function toTopic ($ topic )
3535 {
3636 $ this ->topic = $ topic ;
3737
3838 return $ this ;
3939 }
4040
41- public function data (array $ data = [])
41+ public function data ($ data = [])
4242 {
4343 $ this ->data = $ data ;
4444
4545 return $ this ;
4646 }
4747
48- public function notification (array $ notification = [])
48+ public function notification ($ notification = [])
4949 {
5050 $ this ->notification = $ notification ;
5151
@@ -59,7 +59,7 @@ public function priority(string $priority)
5959 return $ this ;
6060 }
6161
62- public function timeToLive (int $ timeToLive )
62+ public function timeToLive ($ timeToLive )
6363 {
6464 if ($ timeToLive < 0 ) {
6565 $ timeToLive = 0 ; // (0 seconds)
You can’t perform that action at this time.
0 commit comments