From 8c4ca21615dbf5b07494a6b857892cd1c6de2a87 Mon Sep 17 00:00:00 2001 From: gmorel Date: Sun, 20 Oct 2013 22:46:00 +0200 Subject: [PATCH] Working : Missing type inference --- core/lib/Thelia/Core/HttpFoundation/Session/Session.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/lib/Thelia/Core/HttpFoundation/Session/Session.php b/core/lib/Thelia/Core/HttpFoundation/Session/Session.php index 09b932a98..b35bd4a13 100755 --- a/core/lib/Thelia/Core/HttpFoundation/Session/Session.php +++ b/core/lib/Thelia/Core/HttpFoundation/Session/Session.php @@ -70,6 +70,13 @@ class Session extends BaseSession $this->set("thelia.current.currency", $currency); } + /** + * Return current currency + * + * @param bool $forceDefault If default currency forced + * + * @return Currency + */ public function getCurrency($forceDefault = true) { $currency = $this->get("thelia.current.currency");