Style CI Fixes

This commit is contained in:
Norris Oduro
2020-11-15 06:06:15 +00:00
parent 148347b601
commit 427ea770d7

View File

@@ -670,7 +670,7 @@ class Cart
} }
$stored = $this->getConnection()->table($this->getTableName()) $stored = $this->getConnection()->table($this->getTableName())
->where(['identifier'=> $identifier,'instance' => $currentInstance])->first(); ->where(['identifier'=> $identifier, 'instance' => $currentInstance])->first();
$storedContent = unserialize(data_get($stored, 'content')); $storedContent = unserialize(data_get($stored, 'content'));
@@ -728,7 +728,7 @@ class Cart
* *
* @return bool * @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)) { if (!$this->storedCartInstanceWithIdentifierExists($instance, $identifier)) {
return false; return false;