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

[Order] Fix getters and setters to use a proper flag name after upmerge issue #13700

Merged
merged 1 commit into from Feb 25, 2022

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Feb 24, 2022

Q A
Branch? 1.11
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Related tickets after #13695
License MIT

@GSadee GSadee added the Bug Confirmed bugs or bugfixes. label Feb 24, 2022
@GSadee GSadee requested a review from a team as a code owner February 24, 2022 21:53
@@ -477,12 +477,12 @@ public function getNonDiscountedItemsTotal(): int
return $total;
}

public function getByGuest(): bool
public function getCreatedByGuest(): bool
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it be isCreatedByGuest instead ?

Copy link
Member

Choose a reason for hiding this comment

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

It probably should... but this is a PR just to fix conflicts after upmerge, we can fix it from 1.10 ⬆️ later on :)

Copy link
Member Author

Choose a reason for hiding this comment

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

It could be, it looks probably more natural, but it should be changed on 1.10 branch, as the new field has been introduced there, in this PR I'm only fixing the problem after upmerge branches

@AdamKasp AdamKasp merged commit 1ffd0c1 into Sylius:1.11 Feb 25, 2022
@AdamKasp
Copy link
Contributor

Thanks, Grzegorz! 🥇

@GSadee GSadee deleted the fix-getters-and-setters-of-guest-flag branch February 25, 2022 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants