Skip to content

Commit

Permalink
fix(bc): Avoid BC-break in DocumentExchangerInterface (#153)
Browse files Browse the repository at this point in the history
Refs: #148
  • Loading branch information
VincentLanglet committed Feb 21, 2023
1 parent 6c1a8c0 commit 7b72121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Messenger/DocumentExchangerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

namespace JoliCode\Elastically\Messenger;

use JoliCode\Elastically\Model\Document;
use Elastica\Document as ElasticaDocument;

interface DocumentExchangerInterface
{
public function fetchDocument(string $className, string $id): ?Document;
public function fetchDocument(string $className, string $id): ?ElasticaDocument;
}

0 comments on commit 7b72121

Please sign in to comment.