Skip to content

Commit

Permalink
fixed return type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
othillo committed Jun 22, 2021
1 parent d7b5f04 commit 45b9f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DbalRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
use Broadway\Saga\State\RepositoryException;
use Broadway\Saga\State\RepositoryInterface;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\ResultStatement;
use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
use Doctrine\DBAL\Query\QueryBuilder;
use Doctrine\DBAL\Result;

class DbalRepository implements RepositoryInterface
{
Expand Down Expand Up @@ -95,7 +95,7 @@ public function save(State $state, string $sagaId): void
}
}

protected function createAndExecuteQuery(Criteria $criteria, string $sagaId): ResultStatement
protected function createAndExecuteQuery(Criteria $criteria, string $sagaId): Result
{
/** @var QueryBuilder $queryBuilder */
$queryBuilder = $this->connection->createQueryBuilder()
Expand Down

0 comments on commit 45b9f36

Please sign in to comment.