mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Style CI Fixes
This commit is contained in:
@@ -670,7 +670,7 @@ class Cart
|
||||
}
|
||||
|
||||
$stored = $this->getConnection()->table($this->getTableName())
|
||||
->where(['identifier'=> $identifier,'instance' => $currentInstance])->first();
|
||||
->where(['identifier'=> $identifier, 'instance' => $currentInstance])->first();
|
||||
|
||||
$storedContent = unserialize(data_get($stored, 'content'));
|
||||
|
||||
@@ -728,7 +728,7 @@ class Cart
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function merge($identifier, $keepDiscount = false, $keepTax = false, $dispatchAdd = true, $instance = SELF::DEFAULT_INSTANCE)
|
||||
public function merge($identifier, $keepDiscount = false, $keepTax = false, $dispatchAdd = true, $instance = self::DEFAULT_INSTANCE)
|
||||
{
|
||||
if (!$this->storedCartInstanceWithIdentifierExists($instance, $identifier)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user