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