Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/1.x' into 1-to-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Sep 19, 2023
2 parents f0640a0 + 47825e5 commit 632d34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Doctrine/ODM/PHPCR/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function getResult(int $hydrationMode = self::HYDRATE_DOCUMENT)
*
* Alias for execute(null, HYDRATE_PHPCR).
*
* @return Collection|QueryResultInterface
* @return QueryResultInterface
*/
public function getPhpcrNodeResult()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function testSelect(): void

$result = $qb->getQuery()->getPhpcrNodeResult();
$rows = $result->getRows();
$values = $rows->current()->getValues('a');
$values = $rows->current()->getValues();
$values = $this->cleanValues($values);
$this->assertInstanceOf(\Countable::class, $rows);
$this->assertCount(1, $rows);
Expand All @@ -305,7 +305,7 @@ public function testSelect(): void

$result = $qb->getQuery()->getPhpcrNodeResult();
$rows = $result->getRows();
$values = $rows->current()->getValues('a');
$values = $rows->current()->getValues();
$values = $this->cleanValues($values);

switch ($qb->getQuery()->getLanguage()) {
Expand Down

0 comments on commit 632d34f

Please sign in to comment.