Skip to content

Commit

Permalink
Change native return type for getQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Apr 8, 2024
1 parent 7c82b71 commit 9e422ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PHPCR/Util/QOM/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,8 @@ public function joinWithType(SourceInterface $rightSource, string $joinType, Joi

/**
* Gets the query built.
*
* @return QueryObjectModelInterface
*/
public function getQuery(): ?QueryObjectModelInterface
public function getQuery(): QueryObjectModelInterface
{
if (null !== $this->query && self::STATE_CLEAN === $this->state) {
return $this->query;
Expand Down

0 comments on commit 9e422ce

Please sign in to comment.