mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +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;
|
||||
|
||||
case 'modelFQCN':
|
||||
if (isset($this->associatedModel)) {
|
||||
return $this->associatedModel;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user