diff --git a/src/Websocket/Pusher.php b/src/Websocket/Pusher.php index 32b8e91f..5d772788 100644 --- a/src/Websocket/Pusher.php +++ b/src/Websocket/Pusher.php @@ -45,7 +45,7 @@ class Pusher protected $event; /** - * @var mixed|null + * @var string|null */ protected $message; @@ -68,7 +68,7 @@ protected function __construct( bool $broadcast, bool $assigned, string $event, - $message = null, + ?string $message, $server ) {