Applied php-cs-fixer with level psr2

This commit is contained in:
Franck Allimant
2014-05-17 10:49:34 +02:00
parent ef142ca077
commit 2c7337d8e0
4 changed files with 123 additions and 119 deletions

View File

@@ -261,7 +261,8 @@ class Coupon extends BaseCoupon
* Return the countries for which free shipping is valid
* @return array|mixed|\Propel\Runtime\Collection\ObjectCollection
*/
public function getFreeShippingForCountries() {
public function getFreeShippingForCountries()
{
return CouponCountryQuery::create()->filterByCouponId($this->getId())->find();
}
@@ -270,7 +271,8 @@ class Coupon extends BaseCoupon
*
* @return array|mixed|\Propel\Runtime\Collection\ObjectCollection
*/
public function getFreeShippingForModules() {
public function getFreeShippingForModules()
{
return CouponModuleQuery::create()->filterByCouponId($this->getId())->find();
}
@@ -301,4 +303,4 @@ class Coupon extends BaseCoupon
return $usageLeft;
}
}
}