fix cs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,8 +81,6 @@ class OrderEvent extends ActionEvent
|
||||
return $this->cartItemId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @param Order $order
|
||||
*/
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user