@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | return DB::getConn($name); |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param double $price |
|
23 | + */ |
|
21 | 24 | public static function price_for_display($price) |
22 | 25 | { |
23 | 26 | $currency = ShopConfig::get_site_currency(); |
@@ -40,6 +43,9 @@ discard block |
||
40 | 43 | return i18n::get_locale(); |
41 | 44 | } |
42 | 45 | |
46 | + /** |
|
47 | + * @param string $locale |
|
48 | + */ |
|
43 | 49 | public static function install_locale($locale) |
44 | 50 | { |
45 | 51 | // If the locale isn't given, silently fail (there might be carts that still have locale set to null) |