Skip to content

Commit

Permalink
Fix DeleteManyDocumentsHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-sainthillier committed Mar 11, 2024
1 parent 09d3e45 commit fbb45b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Elasticsearch/Handler/DeleteManyDocumentsHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@

namespace App\Elasticsearch\Handler;

use App\Elasticsearch\Message\ReplaceManyDocuments;
use App\Elasticsearch\Message\DeleteManyDocuments;
use Symfony\Component\Messenger\Attribute\AsMessageHandler;

#[AsMessageHandler]
class DeleteManyDocumentsHandler extends AbstractActionHandler
{
public function __invoke(ReplaceManyDocuments $action): void
public function __invoke(DeleteManyDocuments $action): void
{
$persister = $this->getPersister($action);
$persister->doDeleteMany($action->getDocuments());
Expand Down

0 comments on commit fbb45b4

Please sign in to comment.