Total Complexity | 4 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class GetClosedPnLResponse extends AbstractResponse implements IGetClosedPnLResponseInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var string |
||
15 | */ |
||
16 | private string $nextPageCursor; |
||
17 | |||
18 | /** |
||
19 | * @var IGetClosedPnLResponseItemInterface[] |
||
20 | */ |
||
21 | private EntityCollection $list; |
||
22 | |||
23 | public function __construct(array $data) |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return IGetClosedPnLResponseItemInterface[] |
||
40 | */ |
||
41 | public function getClosedPnlList(): array |
||
44 | } |
||
45 | |||
46 | public function getNextPageCursor(): string |
||
51 |
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..