This commit is contained in:
Manuel Raynaud
2014-04-10 12:05:45 +02:00
parent caf22404f5
commit 2532a3bb4b
10 changed files with 61 additions and 69 deletions

View File

@@ -26,7 +26,6 @@ namespace Thelia\Core\Event\Cart;
use Thelia\Core\Event\ActionEvent;
use Thelia\Model\CartItem;
/**
* Class CartItemDuplicationItem
* @package Thelia\Core\Event\Cart
@@ -44,7 +43,7 @@ class CartItemDuplicationItem extends ActionEvent
*/
protected $newItem;
function __construct(CartItem $newItem, CartItem $oldItem)
public function __construct(CartItem $newItem, CartItem $oldItem)
{
$this->newItem = $newItem;
$this->oldItem = $oldItem;
@@ -66,5 +65,4 @@ class CartItemDuplicationItem extends ActionEvent
return $this->oldItem;
}
}
}

View File

@@ -81,8 +81,6 @@ class OrderEvent extends ActionEvent
return $this->cartItemId;
}
/**
* @param Order $order
*/

View File

@@ -63,7 +63,7 @@ interface ParserInterface
* Create a variable that will be available in the templates
*
* @param string $variable the variable name
* @param mixed $value the value of the variable
* @param mixed $value the value of the variable
*/
public function assign($variable, $value);
}