You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(promo-codes): address Codex review on discover query split
- Switch INSTANCE OF from :param binding to inline class interpolation,
matching the original code's pattern and avoiding Doctrine discriminator
binding edge cases
- Add explicit parentheses around isLive DQL condition for defensive
clarity (andWhere already wraps, but now consistent with email-linked)
- Fix member email fallback: PHP empty() matches both NULL and '', but
DQL only checked IS NULL — now also checks e.email = '' to match
MemberPromoCodeTrait::getEmail() exactly
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments