Applied php-cs-fixer with level psr2
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
@@ -189,8 +189,8 @@ class Module extends BaseModule
|
||||
* @return BaseModuleInterface a module instance
|
||||
* @throws \InvalidArgumentException if the module could not be found in the container/
|
||||
*/
|
||||
public function getModuleInstance(ContainerInterface $container) {
|
||||
|
||||
public function getModuleInstance(ContainerInterface $container)
|
||||
{
|
||||
$instance = $container->get(sprintf('module.%s', $this->getCode()));
|
||||
|
||||
if ($instance == null) {
|
||||
|
||||
@@ -12,7 +12,8 @@ class OrderCoupon extends BaseOrderCoupon
|
||||
* Return the countries for which free shipping is valid
|
||||
* @return array|mixed|\Propel\Runtime\Collection\ObjectCollection
|
||||
*/
|
||||
public function getFreeShippingForCountries() {
|
||||
public function getFreeShippingForCountries()
|
||||
{
|
||||
return OrderCouponCountryQuery::create()->filterByOrderCoupon($this)->find();
|
||||
}
|
||||
|
||||
@@ -21,7 +22,8 @@ class OrderCoupon extends BaseOrderCoupon
|
||||
*
|
||||
* @return array|mixed|\Propel\Runtime\Collection\ObjectCollection
|
||||
*/
|
||||
public function getFreeShippingForModules() {
|
||||
public function getFreeShippingForModules()
|
||||
{
|
||||
return OrderCouponModuleQuery::create()->filterByOrderCoupon($this)->find();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user