Coupon : spelling
This commit is contained in:
@@ -128,7 +128,7 @@ class Coupon extends BaseAction implements EventSubscriberInterface
|
||||
// @todo move this part in after order event
|
||||
$couponQuery = CouponQuery::create();
|
||||
$couponModel = $couponQuery->findOneByCode($coupon->getCode());
|
||||
$couponManager->decrementeQuantity($couponModel);
|
||||
$couponManager->decrementQuantity($couponModel);
|
||||
|
||||
$request
|
||||
->getSession()
|
||||
|
||||
@@ -239,7 +239,7 @@ class CouponManager
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function decrementeQuantity(Coupon $coupon)
|
||||
public function decrementQuantity(Coupon $coupon)
|
||||
{
|
||||
$ret = true;
|
||||
try {
|
||||
|
||||
@@ -115,7 +115,7 @@ class CouponManagerTest extends \PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Thelia\Coupon\CouponManager::decrementeQuantity
|
||||
* @covers Thelia\Coupon\CouponManager::decrementQuantity
|
||||
* @todo Implement testDecrementeQuantity().
|
||||
*/
|
||||
public function testDecrementeQuantity()
|
||||
|
||||
Reference in New Issue
Block a user