Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
10 | public function __construct(CurrencyInterface $sourceCurrency, CurrencyInterface $targetCurrency, string $message = null) |
||
11 | { |
||
12 | $message = $message ?? sprintf('Unable to find exchange rate for %s to %s.', $sourceCurrency->getCode(), $targetCurrency->getName()); |
||
13 | parent::__construct($message); |
||
14 | } |
||
15 | } |
||
16 |