| 1 | <?php |
||
| 11 | class SCBroadcaster implements Broadcaster |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var SocketCluster\SocketCluster |
||
| 15 | */ |
||
| 16 | protected $socketcluster; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Construct |
||
| 20 | * |
||
| 21 | * @param SocketCluster $socketcluster |
||
| 22 | * |
||
| 23 | * @param void |
||
| 24 | */ |
||
| 25 | public function __construct(SocketCluster $socketcluster) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Broadcast |
||
| 32 | * |
||
| 33 | * @param array $channels |
||
| 34 | * @param string $event |
||
| 35 | * @param array $payload |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function broadcast(array $channels, $event, array $payload = array()) |
||
| 45 | } |
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..