You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany in /var/www/vhosts/hqol.store/httpdocs/vendor/bagisto/bagisto-reward-points/src/Models/Cart.php on line 33
Symfony\Component\ErrorHandler\Error\FatalError
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany
at vendor/bagisto/bagisto-reward-points/src/Models/Cart.php:33
29▕
30▕ /**
31▕ * To get relevant associated items with the cart instance
32▕ /
➜ 33▕ public function items() {
34▕ return $this->hasMany(CartItemProxy::modelClass())->whereNull('parent_id');
35▕ }
36▕
37▕ /*
Whoops\Exception\ErrorException
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany
at vendor/bagisto/bagisto-reward-points/src/Models/Cart.php:33
29▕
30▕ /**
31▕ * To get relevant associated items with the cart instance
32▕ */
➜ 33▕ public function items() {
34▕ return $this->hasMany(CartItemProxy::modelClass())->whereNull('parent_id');
35▕ }
36▕
37▕
The text was updated successfully, but these errors were encountered:
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany in /var/www/vhosts/hqol.store/httpdocs/vendor/bagisto/bagisto-reward-points/src/Models/Cart.php on line 33
Symfony\Component\ErrorHandler\Error\FatalError
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany
at vendor/bagisto/bagisto-reward-points/src/Models/Cart.php:33
29▕
30▕ /**
31▕ * To get relevant associated items with the cart instance
32▕ /
➜ 33▕ public function items() {
34▕ return $this->hasMany(CartItemProxy::modelClass())->whereNull('parent_id');
35▕ }
36▕
37▕ /*
Whoops\Exception\ErrorException
Declaration of Webkul\Rewards\Models\Cart::items() must be compatible with Webkul\Checkout\Models\Cart::items(): Illuminate\Database\Eloquent\Relations\HasMany
at vendor/bagisto/bagisto-reward-points/src/Models/Cart.php:33
29▕
30▕ /**
31▕ * To get relevant associated items with the cart instance
32▕ */
➜ 33▕ public function items() {
34▕ return $this->hasMany(CartItemProxy::modelClass())->whereNull('parent_id');
35▕ }
36▕
37▕
The text was updated successfully, but these errors were encountered: