Skip to content

Commit

Permalink
linter fixess
Browse files Browse the repository at this point in the history
  • Loading branch information
seba-aln committed Nov 20, 2024
1 parent ffe8702 commit e5c5462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -745,16 +745,6 @@ parameters:
count: 1
path: src/PubNub/Endpoints/Endpoint.php

-
message: "#^Variable \\$publishKey in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: src/PubNub/Endpoints/Endpoint.php

-
message: "#^Variable \\$subscribeKey in empty\\(\\) always exists and is not falsy\\.$#"
count: 1
path: src/PubNub/Endpoints/Endpoint.php

-
message: "#^Method PubNub\\\\Endpoints\\\\FileSharing\\\\DeleteFile\\:\\:createResponse\\(\\) has parameter \\$result with no value type specified in iterable type array\\.$#"
count: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function iFetchMessageHistoryWithSetToForChannel(string $attribute, strin
/**
* @When I fetch message history with messageType for :channelName channel
*/
public function iFetchMessageHistoryWithMessagetypeForChannel($channelName)
public function iFetchMessageHistoryWithMessagetypeForChannel(string $channelName): void
{
$this->channelName = $channelName;
$builder = $this->pubnub->fetchMessages()->channels($this->channelName)->includeMessageType(true);
Expand All @@ -104,7 +104,7 @@ public function iFetchMessageHistoryWithMessagetypeForChannel($channelName)
/**
* @When I fetch message history with customMessageType for :channelName channel
*/
public function iFetchMessageHistoryWithCustommessagetypeForChannel($channelName)
public function iFetchMessageHistoryWithCustommessagetypeForChannel(string $channelName): void
{
$this->channelName = $channelName;
$builder = $this->pubnub->fetchMessages()->channels($this->channelName)->includeCustomMessageType(true);
Expand Down

0 comments on commit e5c5462

Please sign in to comment.