From 0940fe1cc62241223ed9e2e4b0cc4706e8bcf1fa Mon Sep 17 00:00:00 2001 From: Luc Wollants Date: Mon, 6 Feb 2017 13:15:04 +0100 Subject: [PATCH] III-1843 Created a technical debt ticket for introducing findByOne again for cases when searching on aggregate id (https://jira.uitdatabank.be/browse/III-1862). --- src/Broadway/Saga/MultipleSagaManager.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Broadway/Saga/MultipleSagaManager.php b/src/Broadway/Saga/MultipleSagaManager.php index ebfee2c..323fa39 100644 --- a/src/Broadway/Saga/MultipleSagaManager.php +++ b/src/Broadway/Saga/MultipleSagaManager.php @@ -98,7 +98,6 @@ public function handle(DomainMessage $domainMessage) // If actual criteria are given, fetch all matching states and // update them one by one. foreach ($this->stateManager->findBy($criteria, $sagaType) as $state) { - // TODO: For CopiedCriteria only one state should be found. $this->handleEventBySagaWithState($sagaType, $saga, $event, $state); } }