From fda2c769eba207443ed86439e247971fc206b503 Mon Sep 17 00:00:00 2001 From: October CMS Date: Mon, 12 Aug 2024 12:43:54 +1000 Subject: [PATCH 1/2] Currency facade belongs to Currency plugin --- src/Support/Facades/Currency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/Facades/Currency.php b/src/Support/Facades/Currency.php index 3996a87a8..255722a4e 100644 --- a/src/Support/Facades/Currency.php +++ b/src/Support/Facades/Currency.php @@ -9,7 +9,7 @@ * @method static mixed listConverterObjects() * @method static mixed findConverterByAlias() * - * @see \Responsiv\Shop\Classes\CurrencyManager + * @see \Responsiv\Currency\Classes\CurrencyManager */ class Currency extends Facade { From 694c4aa910042992aae2fc1788c2bb73633ac060 Mon Sep 17 00:00:00 2001 From: October CMS Date: Fri, 16 Aug 2024 10:52:55 +1000 Subject: [PATCH 2/2] Update currency API docs --- helpers/Currency.php | 2 +- src/Support/Facades/Currency.php | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/helpers/Currency.php b/helpers/Currency.php index 30da555aa..c48bf4e3d 100644 --- a/helpers/Currency.php +++ b/helpers/Currency.php @@ -3,6 +3,6 @@ /** * Currency * - * @see \Responsiv\Shop\Classes\CurrencyManager + * @see \Responsiv\Currency\Classes\CurrencyManager */ class Currency extends October\Rain\Support\Facades\Currency {} diff --git a/src/Support/Facades/Currency.php b/src/Support/Facades/Currency.php index 255722a4e..8d9f1b166 100644 --- a/src/Support/Facades/Currency.php +++ b/src/Support/Facades/Currency.php @@ -5,6 +5,12 @@ /** * Currency facade * + * @method static mixed getDefault() + * @method static string getDefaultCode() + * @method static mixed getPrimary() + * @method static string getPrimaryCode() + * @method static mixed getActive() + * @method static string getActiveCode() * @method static mixed listConverters(bool $asObject) * @method static mixed listConverterObjects() * @method static mixed findConverterByAlias()