mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 23:51:25 +00:00
Update CartItemOptions.php
This commit is contained in:
@@ -9,11 +9,9 @@ class CartItemOptions extends Collection
|
|||||||
/**
|
/**
|
||||||
* Get the option by the given key.
|
* Get the option by the given key.
|
||||||
*
|
*
|
||||||
* @param string $key
|
|
||||||
*
|
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function __get($key)
|
public function __get(string $key)
|
||||||
{
|
{
|
||||||
return $this->get($key);
|
return $this->get($key);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user