Applied Windows version of php-cs script

This commit is contained in:
Franck Allimant
2014-05-17 12:00:08 +02:00
parent f772a49dcc
commit cae0db00eb
8 changed files with 6 additions and 9 deletions

View File

@@ -107,7 +107,7 @@ class Coupon extends BaseCoupon
CouponCountryQuery::create()->filterByCouponId($this->id)->delete(); CouponCountryQuery::create()->filterByCouponId($this->id)->delete();
CouponModuleQuery::create()->filterByCouponId($this->id)->delete(); CouponModuleQuery::create()->filterByCouponId($this->id)->delete();
foreach($freeShippingForCountries as $countryId) { foreach ($freeShippingForCountries as $countryId) {
if ($countryId <= 0) continue; if ($countryId <= 0) continue;
@@ -120,7 +120,7 @@ class Coupon extends BaseCoupon
; ;
} }
foreach($freeShippingForMethods as $moduleId) { foreach ($freeShippingForMethods as $moduleId) {
if ($moduleId <= 0) continue; if ($moduleId <= 0) continue;

View File

@@ -4,7 +4,6 @@ namespace Thelia\Model;
use Thelia\Model\Base\CouponCountryQuery as BaseCouponCountryQuery; use Thelia\Model\Base\CouponCountryQuery as BaseCouponCountryQuery;
/** /**
* Skeleton subclass for performing query and update operations on the 'coupon_country' table. * Skeleton subclass for performing query and update operations on the 'coupon_country' table.
* *

View File

@@ -4,7 +4,6 @@ namespace Thelia\Model;
use Thelia\Model\Base\CouponCustomerCountQuery as BaseCouponCustomerCountQuery; use Thelia\Model\Base\CouponCustomerCountQuery as BaseCouponCustomerCountQuery;
/** /**
* Skeleton subclass for performing query and update operations on the 'coupon_customer_count' table. * Skeleton subclass for performing query and update operations on the 'coupon_customer_count' table.
* *

View File

@@ -4,7 +4,6 @@ namespace Thelia\Model;
use Thelia\Model\Base\CouponModuleQuery as BaseCouponModuleQuery; use Thelia\Model\Base\CouponModuleQuery as BaseCouponModuleQuery;
/** /**
* Skeleton subclass for performing query and update operations on the 'coupon_module' table. * Skeleton subclass for performing query and update operations on the 'coupon_module' table.
* *

View File

@@ -185,8 +185,8 @@ class Module extends BaseModule
} }
/** /**
* @param ContainerInterface $container the Thelia container * @param ContainerInterface $container the Thelia container
* @return BaseModuleInterface a module instance * @return BaseModuleInterface a module instance
* @throws \InvalidArgumentException if the module could not be found in the container/ * @throws \InvalidArgumentException if the module could not be found in the container/
*/ */
public function getModuleInstance(ContainerInterface $container) public function getModuleInstance(ContainerInterface $container)

View File

@@ -25,6 +25,7 @@ class Order extends BaseOrder
public function setChoosenDeliveryAddress($choosenDeliveryAddress) public function setChoosenDeliveryAddress($choosenDeliveryAddress)
{ {
$this->choosenDeliveryAddress = $choosenDeliveryAddress; $this->choosenDeliveryAddress = $choosenDeliveryAddress;
return $this; return $this;
} }
@@ -42,6 +43,7 @@ class Order extends BaseOrder
public function setChoosenInvoiceAddress($choosenInvoiceAddress) public function setChoosenInvoiceAddress($choosenInvoiceAddress)
{ {
$this->choosenInvoiceAddress = $choosenInvoiceAddress; $this->choosenInvoiceAddress = $choosenInvoiceAddress;
return $this; return $this;
} }

View File

@@ -4,7 +4,6 @@ namespace Thelia\Model;
use Thelia\Model\Base\OrderCouponCountryQuery as BaseOrderCouponCountryQuery; use Thelia\Model\Base\OrderCouponCountryQuery as BaseOrderCouponCountryQuery;
/** /**
* Skeleton subclass for performing query and update operations on the 'order_coupon_country' table. * Skeleton subclass for performing query and update operations on the 'order_coupon_country' table.
* *

View File

@@ -4,7 +4,6 @@ namespace Thelia\Model;
use Thelia\Model\Base\OrderCouponModuleQuery as BaseOrderCouponModuleQuery; use Thelia\Model\Base\OrderCouponModuleQuery as BaseOrderCouponModuleQuery;
/** /**
* Skeleton subclass for performing query and update operations on the 'order_coupon_module' table. * Skeleton subclass for performing query and update operations on the 'order_coupon_module' table.
* *