Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | trait IncomeType |
||
8 | { |
||
9 | /** |
||
10 | * Type of investment income: |
||
11 | * CGLONG (capital gains-long term), |
||
12 | * CGSHORT (capital gains-short term), |
||
13 | * DIV (dividend), |
||
14 | * INTEREST, |
||
15 | * MISC |
||
16 | * @var string |
||
17 | */ |
||
18 | public $incomeType; |
||
19 | |||
20 | /** |
||
21 | * @param SimpleXMLElement $node |
||
22 | * @return $this for chaining |
||
23 | */ |
||
24 | protected function loadIncomeType(SimpleXMLElement $node) |
||
31 |