Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit a42c016

Browse files
authored
Update Pusher.php
add `?string` type to `$message`. This style of function declaration [has been deprecated in PHP 8.0](https://www.php.net/manual/en/migration80.deprecated.php). solve issue: **[Is this a BUG?](#472
1 parent b87881b commit a42c016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Websocket/Pusher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ protected function __construct(
6868
bool $broadcast,
6969
bool $assigned,
7070
string $event,
71-
$message = null,
71+
?string $message,
7272
$server
7373
)
7474
{

0 commit comments

Comments
 (0)