| Conditions | 2 |
| Paths | 3 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function validate(string $number) |
||
| 31 | { |
||
| 32 | try { |
||
| 33 | $this->validateInitial($number, $this); |
||
| 34 | $this->moduleTen($number); |
||
| 35 | } catch (EcuadorIdentificationException $e) { |
||
| 36 | throw new EcuadorIdentificationException($e->getMessage()); |
||
| 37 | } |
||
| 38 | |||
| 39 | return $this->billingCode; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |
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..