mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-24 07:55:35 +00:00
Update CartItem.php
This commit is contained in:
@@ -513,9 +513,9 @@ class CartItem implements Arrayable, Jsonable
|
|||||||
*
|
*
|
||||||
* @return string
|
* @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