| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function __construct(int $amount, string $sourceCurrency, string $targetCurrency, array $conversionContext = []) |
||
| 29 | { |
||
| 30 | parent::__construct(sprintf('The source, %s %d, could not be converted to %s', $sourceCurrency, $amount, $targetCurrency)); |
||
| 31 | |||
| 32 | $this->amount = $amount; |
||
| 33 | $this->sourceCurrency = $sourceCurrency; |
||
| 34 | $this->targetCurrency = $targetCurrency; |
||
| 35 | $this->conversionContext = $conversionContext; |
||
| 36 | } |
||
| 58 |