Skip to content

Commit

Permalink
Replace json_encode $params with DQL
Browse files Browse the repository at this point in the history
  • Loading branch information
frankverhoeven committed Jan 27, 2022
1 parent afcf8f4 commit f3e5276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/Doctrine2.php
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ protected function proceedSeeInRepository(string $entity, array $params = []): a
$this->debug($qb->getDQL());
$res = $qb->getQuery()->getArrayResult();

return ['True', (count($res) > 0), "$entity with " . json_encode($params, JSON_THROW_ON_ERROR)];
return ['True', (count($res) > 0), "$entity with " . $qb->getDQL()];
}

/**
Expand Down

0 comments on commit f3e5276

Please sign in to comment.