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

@@ -7,9 +7,8 @@ use Thelia\Core\Event\Attribute\AttributeAvEvent;
use Propel\Runtime\Connection\ConnectionInterface;
use Thelia\Core\Event\TheliaEvents;
class AttributeAv extends BaseAttributeAv {
class AttributeAv extends BaseAttributeAv
{
use \Thelia\Model\Tools\ModelEventDispatcherTrait;
use \Thelia\Model\Tools\PositionManagementTrait;
@@ -17,7 +16,8 @@ class AttributeAv extends BaseAttributeAv {
/**
* when dealing with position, be sure to work insite the current attribute.
*/
protected function addCriteriaToPositionQuery($query) {
protected function addCriteriaToPositionQuery($query)
{
$query->filterByAttributeId($this->getAttributeId());
}
@@ -77,4 +77,4 @@ class AttributeAv extends BaseAttributeAv {
{
$this->dispatchEvent(TheliaEvents::AFTER_DELETEATTRIBUTE_AV, new AttributeAvEvent($this));
}
}
}