Completed
Pull Request — 2.0 (#506)
by Roman
17:36
created
code/ShopTools.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.