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:
55
55
count : 1
56
56
path : src/Request/BaseRequest.php
57
57
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
-
68
58
-
69
59
message : " #^Cannot call method get\\ (\\ ) on mixed\\ .$#"
70
60
count : 1
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ abstract class BaseRequest
34
34
public function __construct (string $ serverKey = null , string $ senderId = null )
35
35
{
36
36
// They may have been already filled
37
- if ($ this -> serverKey === null || $ this -> senderId === null ) {
37
+ if ($ serverKey === null || $ senderId === null ) {
38
38
$ config = app ('config ' )->get ('fcm.http ' , []);
39
39
$ this ->serverKey = $ config ['server_key ' ];
40
40
$ this ->senderId = $ config ['sender_id ' ];
You can’t perform that action at this time.
0 commit comments