Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Shop] Allow using interfaces in components #16971

Merged
merged 12 commits into from
Sep 23, 2024

Conversation

NoResponseMate
Copy link
Contributor

Q A
Branch? 2.0
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
License MIT

@NoResponseMate NoResponseMate added Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Shop ShopBundle related issues and PRs. labels Sep 18, 2024
Copy link

github-actions bot commented Sep 18, 2024

Bunnyshell Preview Environment deleted

Available commands:

  • /bns:deploy to redeploy the environment

@mpysiak mpysiak force-pushed the SYL-3923/cover-shop-form-components branch 2 times, most recently from 1bbfc26 to 9d56136 Compare September 20, 2024 04:40
@mpysiak mpysiak marked this pull request as ready for review September 20, 2024 11:09
@mpysiak mpysiak requested review from a team as code owners September 20, 2024 11:09
@mpysiak mpysiak force-pushed the SYL-3923/cover-shop-form-components branch from f68df6e to 6ddf72c Compare September 23, 2024 04:00

#[LiveListener(FormComponent::SYLIUS_SHOP_CART_CHANGED)]
public function refreshCart(#[LiveArg] Order $cart): void
public function refreshCart(#[LiveArg] int $cart): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public function refreshCart(#[LiveArg] int $cart): void
public function refreshCart(#[LiveArg] mixed $cartId): void

@mpysiak mpysiak force-pushed the SYL-3923/cover-shop-form-components branch from e6b593c to ecc0a24 Compare September 23, 2024 05:17
Comment on lines +14 to +15
use DefaultActionTrait;
use HookableLiveComponentTrait;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this needed? I didn't expect to see this here.

@GSadee GSadee merged commit f65c214 into Sylius:2.0 Sep 23, 2024
19 checks passed
@NoResponseMate NoResponseMate deleted the SYL-3923/cover-shop-form-components branch September 25, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Minor issues and PRs improving the current solutions (optimizations, typo fixes, etc.). Shop ShopBundle related issues and PRs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants