Skip to content

Commit 9e422ce

Browse files
Change native return type for getQuery
1 parent 7c82b71 commit 9e422ce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/PHPCR/Util/QOM/QueryBuilder.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,8 @@ public function joinWithType(SourceInterface $rightSource, string $joinType, Joi
399399

400400
/**
401401
* Gets the query built.
402-
*
403-
* @return QueryObjectModelInterface
404402
*/
405-
public function getQuery(): ?QueryObjectModelInterface
403+
public function getQuery(): QueryObjectModelInterface
406404
{
407405
if (null !== $this->query && self::STATE_CLEAN === $this->state) {
408406
return $this->query;

0 commit comments

Comments
 (0)