Skip to content

Commit

Permalink
PredicateTemplate::with*(): return type hint changed to QuadTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
zozlak committed Jan 29, 2024
1 parent 9c9130e commit 948a4e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/termTemplates/PredicateTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,23 +69,23 @@ public function getGraph(): TermCompareInterface | null {
return $this->tmpl->getGraph();
}

public function withSubject(TermCompareInterface | string | null $subject = null): self {
public function withSubject(TermCompareInterface | string | null $subject = null): QuadTemplate {
return $this->tmpl->withSubject($subject);
}

public function withPredicate(TermCompareInterface | string | null $predicate = null): self {
public function withPredicate(TermCompareInterface | string | null $predicate = null): QuadTemplate {
return $this->tmpl->withPredicate($predicate);
}

public function withObject(TermCompareInterface | string | null $object = null): self {
public function withObject(TermCompareInterface | string | null $object = null): QuadTemplate {
return $this->tmpl->withObject($object);
}

public function withGraph(TermCompareInterface | string | null $graph = null): self {
public function withGraph(TermCompareInterface | string | null $graph = null): QuadTemplate {
return $this->tmpl->withGraph($graph);
}

public function withNegate(bool $negate): self {
public function withNegate(bool $negate): QuadTemplate {
return $this->tmpl->withNegate($negate);
}
}

0 comments on commit 948a4e3

Please sign in to comment.