Skip to content

Commit

Permalink
[CS][DX] Refactor (Sylius#17603)
Browse files Browse the repository at this point in the history
This PR has been generated automatically.
For more details see
[refactor.yaml](/Sylius/Sylius/blob/1.12/.github/workflows/refactor.yaml).
  • Loading branch information
mpysiak authored Jan 3, 2025
2 parents 1814b8a + 24134f8 commit 62fc49f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function it_is_initializable(): void

function it_does_nothing_if_cart_is_not_managed(
EntityManagerInterface $manager,
OrderInterface $cart
OrderInterface $cart,
): void {
$manager->contains($cart)->willReturn(false);

Expand All @@ -53,7 +53,7 @@ function it_resets_changes_for_cart_items_and_units(
OrderItemInterface $item,
OrderItemUnitInterface $unitNew,
OrderItemUnitInterface $unitExisting,
Collection $itemsCollection
Collection $itemsCollection,
): void {
$manager->contains($cart)->willReturn(true);
$manager->getUnitOfWork()->willReturn($unitOfWork);
Expand Down

0 comments on commit 62fc49f

Please sign in to comment.