Skip to content

Change Cart type hint to CartContract in getDiscounts#3

Closed
YannikFirre wants to merge 1 commit intolunarphp:1.xfrom
YannikFirre:patch-1
Closed

Change Cart type hint to CartContract in getDiscounts#3
YannikFirre wants to merge 1 commit intolunarphp:1.xfrom
YannikFirre:patch-1

Conversation

@YannikFirre
Copy link
Copy Markdown

Use Lunar\Models\Contracts\Cart (e.g. CartContract) instead of the concrete Cart model in signatures so code stays aligned with Lunar’s model replacement.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Thank you for your pull request. However, you have submitted this PR on the Lunar Core Repo which is a read-only sub split of lunarphp/lunar. Please submit your PR on the https://github.com/lunarphp/lunar repository.

Thanks!

@github-actions github-actions bot closed this Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant