It seems like $websocket of type object<WebSocket\Client> is incompatible with the declared type object<SocketCluster\WebSocket\Client> of property $websocket.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
Loading history...
28
5
}
29
30
/**
31
* Publish Channel
32
*
33
* @param string $channel
34
* @param mixed $data
35
2
* @param Closure|null $callback
36
*
37
2
* @return boolean
38
*/
39
public function publish($channel, $data, Closure $callback = null)
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..