Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class Customer extends \Lendable\GoCardlessEnterprise\Model\Customer |
||
8 | { |
||
9 | public function __construct() |
||
12 | } |
||
13 | |||
14 | /** |
||
15 | * @param CustomerBankAccount $bankAccount |
||
16 | */ |
||
17 | public function addBankAccount(CustomerBankAccount $bankAccount) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @param CustomerBankAccount $bankAccount |
||
25 | */ |
||
26 | public function removeBankAccount(CustomerBankAccount $bankAccount) |
||
27 | { |
||
28 | $this->bankAccounts->removeElement($bankAccount); |
||
29 | } |
||
30 | |||
31 | public function fromArray($data) |
||
35 | } |
||
36 | } |
||
37 |
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..