Skip to content

Update layered recordThat detection when applying#23

Merged
DanielBadura merged 1 commit into1.2.xfrom
update-layered-record-detection
Apr 19, 2026
Merged

Update layered recordThat detection when applying#23
DanielBadura merged 1 commit into1.2.xfrom
update-layered-record-detection

Conversation

@DanielBadura
Copy link
Copy Markdown
Member

No description provided.

Comment thread tests/Valid/Stock.php
#[Apply]
protected function applyStockDecreased(StockDecreased $event): void
{
$this->stock[$event->productId->toString()] = $this->stockFor($event->productId) - $event->quantity;
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

this line triggered before a false positive

@DanielBadura DanielBadura force-pushed the update-layered-record-detection branch from b73a6f0 to 01fe8ab Compare April 19, 2026 17:00
@DanielBadura DanielBadura self-assigned this Apr 19, 2026
@DanielBadura DanielBadura added the enhancement New feature or request label Apr 19, 2026
@DanielBadura DanielBadura added this to the 1.2.0 milestone Apr 19, 2026
@DanielBadura DanielBadura merged commit 2c8690a into 1.2.x Apr 19, 2026
2 checks passed
@DanielBadura DanielBadura deleted the update-layered-record-detection branch April 19, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants