mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-11 18:54:33 +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.
|
||||
*
|
||||
* @param string $key
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
public function __get($key)
|
||||
public function __get(string $key)
|
||||
{
|
||||
return $this->get($key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user