diff --git a/src/Entity/MatchingContext.php b/src/Entity/MatchingContext.php index c81a8df..12201f9 100644 --- a/src/Entity/MatchingContext.php +++ b/src/Entity/MatchingContext.php @@ -357,7 +357,7 @@ public function getQuerySelector(): ?string /** * @return MatchingContext */ - public function setQuerySelector(string $querySelector): self + public function setQuerySelector(?string $querySelector): self { $this->querySelector = $querySelector; @@ -372,7 +372,7 @@ public function getXpath(): ?string return $this->xpath; } - public function setXpath(string $xpath): void + public function setXpath(?string $xpath): void { $this->xpath = $xpath; }