| Total Complexity | 1 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 31 | class MoneyInfo |
||
| 32 | { |
||
| 33 | /** |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | public $qualifier; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @var int |
||
| 40 | */ |
||
| 41 | public $amount; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @var null|string |
||
| 45 | */ |
||
| 46 | public $currency; |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @var string |
||
| 50 | */ |
||
| 51 | public $locationId; |
||
| 52 | |||
| 53 | /** |
||
| 54 | * MoneyInfo constructor. |
||
| 55 | * |
||
| 56 | * @param int $amount |
||
| 57 | * @param string|null $currency |
||
| 58 | */ |
||
| 59 | 10 | public function __construct($amount, $currency = null) |
|
| 65 |