|
|
@@ -131,7 +131,7 @@ class CurrencyConversions extends \common\components\ActiveRecord
|
|
|
* @param int $toCurrencyId
|
|
|
* @return mixed.
|
|
|
*/
|
|
|
- public static function getToUSDRate(int $toCurrencyId): ?array
|
|
|
+ public static function getToUSDRate(int $toCurrencyId)
|
|
|
{
|
|
|
$data = self::findOneAsArray('FROM_CURRENCY_ID=:FROM_CURRENCY_ID AND TO_CURRENCY_ID=:TO_CURRENCY_ID AND ACTIVE=1',
|
|
|
[
|