1 | <?php |
||
29 | class Endpoint extends Resource |
||
30 | { |
||
31 | /** |
||
32 | * @var array Id's of channels associated with this endpoint |
||
33 | */ |
||
34 | private $channelIds; |
||
35 | |||
36 | /** |
||
37 | * @var string Identifier of the endpoint, specific to the given technology. |
||
38 | */ |
||
39 | private $resource; |
||
40 | |||
41 | /** |
||
42 | * @var string (optional) - Endpoint's state |
||
43 | */ |
||
44 | private $state; |
||
45 | |||
46 | /** |
||
47 | * @var string Technology of the endpoint |
||
48 | */ |
||
49 | private $technology; |
||
50 | |||
51 | /** |
||
52 | * @return array Id's of channels associated with this endpoint |
||
53 | */ |
||
54 | public function getChannelIds() |
||
58 | |||
59 | /** |
||
60 | * @return string Identifier of the endpoint, specific to the given technology. |
||
61 | */ |
||
62 | public function getResource() |
||
66 | |||
67 | /** |
||
68 | * @return string (optional) - Endpoint's state |
||
69 | */ |
||
70 | public function getState() |
||
74 | |||
75 | /** |
||
76 | * @return string Technology of the endpoint |
||
77 | */ |
||
78 | public function getTechnology() |
||
82 | |||
83 | /** |
||
84 | * @param callable $callback |
||
85 | */ |
||
86 | public function onEndpointStateChange(callable $callback) |
||
90 | |||
91 | /** |
||
92 | * @param callable $callback |
||
93 | */ |
||
94 | public function onceEndpointStateChange(callable $callback) |
||
98 | |||
99 | /** |
||
100 | * @param AriClient $client |
||
101 | * @param string $response |
||
102 | */ |
||
103 | public function __construct(AriClient $client, $response) |
||
112 | |||
113 | } |
||
114 |
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..