| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | protected function baselineDeletedPosts(BaselinePostsCommand $command): void |
||
| 34 | 1 | { |
|
| 35 | $deletedPostIds = $this->findingRepository->findDeletedPostIdsForBaseline($command->getFrom()); |
||
| 36 | 1 | foreach ($deletedPostIds as $postId) { |
|
| 37 | $this->eventPublisher->publish(new PostDeletedOEvent(new DeleteExistingPostDto($postId))); |
||
| 38 | 1 | } |
|
| 51 | } |