mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update ProductModel.php
This commit is contained in:
@@ -6,7 +6,7 @@ class ProductModel
|
||||
{
|
||||
public $someValue = 'Some value';
|
||||
|
||||
public function find($id)
|
||||
public function find($id) : self
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user