1 | <?php |
||
8 | class Duplicate extends \stdClass implements Arrayable |
||
9 | { |
||
10 | /** @var string */ |
||
11 | public $status; |
||
12 | |||
13 | /** @var string */ |
||
14 | public $documentNumber; |
||
15 | |||
16 | /** @var string */ |
||
17 | public $description; |
||
18 | |||
19 | /** @var string */ |
||
20 | public $password; |
||
21 | |||
22 | /** @var \WeDevBr\Bankly\Types\Card\Address */ |
||
23 | public $address; |
||
24 | |||
25 | /** |
||
26 | * This validate and return an array |
||
27 | * |
||
28 | * @return array |
||
29 | */ |
||
30 | public function toArray(): array |
||
39 | |||
40 | /** |
||
41 | * This function validate the data for duplicate card |
||
42 | * |
||
43 | * @return self |
||
44 | */ |
||
45 | public function validate() |
||
52 | } |
||
53 |
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..