mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Removed unneccessary return statements
This commit is contained in:
@@ -377,15 +377,11 @@ class CartItem implements Arrayable, Jsonable
|
|||||||
return with(new $this->associatedModel())->find($this->id);
|
return with(new $this->associatedModel())->find($this->id);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
|
|
||||||
case 'modelFQCN':
|
case 'modelFQCN':
|
||||||
if (isset($this->associatedModel)) {
|
if (isset($this->associatedModel)) {
|
||||||
return $this->associatedModel;
|
return $this->associatedModel;
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user