Skip to content

Commit

Permalink
fix: channelId
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyPettersson85 committed Dec 4, 2024
1 parent ca52683 commit fa7df31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/GetStream/StreamChat/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Channel
private $client;

/** @internal */
public function __construct(Client $client, string $channelTypeName, ?string $channelId = null, ?array $data = null)
public function __construct(Client $client, string $channelTypeName, string $channelId = '', ?array $data = null)
{
if ($data === null) {
$data = [];
Expand Down

0 comments on commit fa7df31

Please sign in to comment.