1 | <?php |
||
8 | class Card extends \stdClass implements Arrayable |
||
9 | { |
||
10 | /** @var string */ |
||
11 | public $documentNumber; |
||
12 | |||
13 | /** @var string */ |
||
14 | public $cardName; |
||
15 | |||
16 | /** @var string */ |
||
17 | public $alias; |
||
18 | |||
19 | /** @var string */ |
||
20 | public $bankAgency; |
||
21 | |||
22 | /** @var string */ |
||
23 | public $bankAccount; |
||
24 | |||
25 | /** @var string */ |
||
26 | public $programId; |
||
27 | |||
28 | /** @var string */ |
||
29 | public $password; |
||
30 | |||
31 | /** @var \WeDevBr\Bankly\Types\Card\Address */ |
||
32 | public $address; |
||
33 | |||
34 | /** @var string */ |
||
35 | public $type; |
||
36 | |||
37 | /** |
||
38 | * This validate and return an array |
||
39 | * @return array |
||
40 | */ |
||
41 | public function toArray(): array |
||
48 | |||
49 | /** |
||
50 | * This function validate a card address |
||
51 | */ |
||
52 | public function validate() |
||
59 | } |
||
60 |
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..