-
Notifications
You must be signed in to change notification settings - Fork 53
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
PISHPS-304: added OrderTagService #821
Conversation
src/Service/Tags/OrderTagService.php
Outdated
|
||
// Fetch or create the tag | ||
$criteria = new Criteria(); | ||
$criteria->addFilter(new EqualsFilter('id', $subscriptionTag->getId())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you use here the tag name, merchants can delete and create tags on the fly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
src/Service/Tags/OrderTagService.php
Outdated
*/ | ||
private function serializeTag(TagEntity $tag): array | ||
{ | ||
return ['id' => $tag->getId(),]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this comma intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was, but I don't mind removing it
No description provided.