diff --git a/Infrastructure/Domain/Service/Lifecycle/CommandPersister.php b/Infrastructure/Domain/Service/Lifecycle/CommandPersister.php index affd543..e545c5a 100755 --- a/Infrastructure/Domain/Service/Lifecycle/CommandPersister.php +++ b/Infrastructure/Domain/Service/Lifecycle/CommandPersister.php @@ -4,6 +4,7 @@ use Ivoz\Core\Application\Event\CommandWasExecuted; use Ivoz\Core\Application\Service\CommandEventSubscriber; +use Ivoz\Core\Domain\Event\EntityEventInterface; use Ivoz\Core\Domain\Service\EntityEventSubscriber; use Ivoz\Core\Domain\Service\EntityPersisterInterface; use Ivoz\Core\Domain\Model\Changelog\Changelog; @@ -27,6 +28,7 @@ public function __construct( */ public function persistEvents() { + /** @var EntityEventInterface[] $entityEvents */ $entityEvents = $this ->entityEventSubscriber ->getEvents();