Update CartItemOptions.php

This commit is contained in:
Patrick
2022-01-18 00:16:34 +01:00
committed by GitHub
parent 126eb55076
commit dc7ee838d1

View File

@@ -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);
}