mirror of
https://github.com/wearepixel/laravel-cart.git
synced 2026-11-14 22:01:48 +00:00
fix: add missing return type to getAssociatedModel
This commit is contained in:
@@ -56,7 +56,7 @@ public function __get($name)
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
protected function getAssociatedModel()
|
||||
protected function getAssociatedModel(): mixed
|
||||
{
|
||||
if (! $this->has('associatedModel')) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user