This repository was archived by the owner on Jun 28, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -55,16 +55,6 @@ parameters:
5555 count : 1
5656 path : src/Request/BaseRequest.php
5757
58- -
59- message : " #^Property LaravelFCM\\\\ Request\\\\ BaseRequest\\ :\\ :\\ $senderId \\ (string\\ ) does not accept string\\ |null\\ .$#"
60- count : 1
61- path : src/Request/BaseRequest.php
62-
63- -
64- message : " #^Property LaravelFCM\\\\ Request\\\\ BaseRequest\\ :\\ :\\ $serverKey \\ (string\\ ) does not accept string\\ |null\\ .$#"
65- count : 1
66- path : src/Request/BaseRequest.php
67-
6858 -
6959 message : " #^Cannot call method get\\ (\\ ) on mixed\\ .$#"
7060 count : 1
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class BaseRequest
3434 public function __construct (string $ serverKey = null , string $ senderId = null )
3535 {
3636 // They may have been already filled
37- if ($ this -> serverKey === null || $ this -> senderId === null ) {
37+ if ($ serverKey === null || $ senderId === null ) {
3838 $ config = app ('config ' )->get ('fcm.http ' , []);
3939 $ this ->serverKey = $ config ['server_key ' ];
4040 $ this ->senderId = $ config ['sender_id ' ];
You can’t perform that action at this time.
0 commit comments