| 1 | <?php |
||
| 8 | class VirtualCard 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\VirtualCard\Address */ |
||
| 32 | public $address; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * This validate and return an array |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function toArray(): array |
||
| 45 | |||
| 46 | /** |
||
| 47 | * This function validate a virtual card address |
||
| 48 | */ |
||
| 49 | public function validate() |
||
| 56 | } |
||
| 57 |
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..