update changelog and fix cs

This commit is contained in:
Manuel Raynaud
2014-02-22 19:01:37 +01:00
parent b833b4a5b6
commit a5cfcf91ca
590 changed files with 21397 additions and 24262 deletions

View File

@@ -8,8 +8,8 @@ use Thelia\Core\Event\TheliaEvents;
use Propel\Runtime\Connection\ConnectionInterface;
use Thelia\Core\Event\Currency\CurrencyEvent;
class Currency extends BaseCurrency {
class Currency extends BaseCurrency
{
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
use \Thelia\Model\Tools\PositionManagementTrait;
@@ -85,15 +85,15 @@ class Currency extends BaseCurrency {
/**
* Get the [rate] column value.
*
* @return double
* @return double
* @throws PropelException
*/
public function getRate()
{
if(false === filter_var($this->rate, FILTER_VALIDATE_FLOAT)) {
if (false === filter_var($this->rate, FILTER_VALIDATE_FLOAT)) {
throw new PropelException('Currency::rate is not float value');
}
return $this->rate;
}
}
}