mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +00:00
Update CartItem.php
This commit is contained in:
@@ -513,9 +513,9 @@ class CartItem implements Arrayable, Jsonable
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function toJson(int $flags = 0)
|
||||
public function toJson($options = 0)
|
||||
{
|
||||
return json_encode($this->toArray(), $flags);
|
||||
return json_encode($this->toArray(), $options);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user