Working : Missing type inference

This commit is contained in:
gmorel
2013-10-20 22:46:00 +02:00
parent ad69c45e4f
commit 8c4ca21615

View File

@@ -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");