Coupon : spelling

This commit is contained in:
gmorel
2013-11-23 22:33:30 +01:00
parent bcad9b5da1
commit 2884b0a3b7
3 changed files with 3 additions and 3 deletions

View File

@@ -128,7 +128,7 @@ class Coupon extends BaseAction implements EventSubscriberInterface
// @todo move this part in after order event // @todo move this part in after order event
$couponQuery = CouponQuery::create(); $couponQuery = CouponQuery::create();
$couponModel = $couponQuery->findOneByCode($coupon->getCode()); $couponModel = $couponQuery->findOneByCode($coupon->getCode());
$couponManager->decrementeQuantity($couponModel); $couponManager->decrementQuantity($couponModel);
$request $request
->getSession() ->getSession()

View File

@@ -239,7 +239,7 @@ class CouponManager
* *
* @return bool * @return bool
*/ */
public function decrementeQuantity(Coupon $coupon) public function decrementQuantity(Coupon $coupon)
{ {
$ret = true; $ret = true;
try { try {

View File

@@ -115,7 +115,7 @@ class CouponManagerTest extends \PHPUnit_Framework_TestCase
} }
/** /**
* @covers Thelia\Coupon\CouponManager::decrementeQuantity * @covers Thelia\Coupon\CouponManager::decrementQuantity
* @todo Implement testDecrementeQuantity(). * @todo Implement testDecrementeQuantity().
*/ */
public function testDecrementeQuantity() public function testDecrementeQuantity()