Skip to content

Commit 705baa5

Browse files
Change native return type for QueryObjectModelInterface::getQuery
1 parent 51a2bbf commit 705baa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/PHPCR/Util/QOM/QueryBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ public function joinWithType(SourceInterface $rightSource, string $joinType, Joi
400400
/**
401401
* Gets the query built.
402402
*/
403-
public function getQuery(): ?QueryObjectModelInterface
403+
public function getQuery(): QueryObjectModelInterface
404404
{
405405
if (null !== $this->query && self::STATE_CLEAN === $this->state) {
406406
return $this->query;

0 commit comments

Comments
 (0)