Skip to content

Commit

Permalink
Merge pull request #438 from dis-moi/fix/matching-context-nullable-se…
Browse files Browse the repository at this point in the history
…tters

fix(xpath): fix removing an existing xpath
  • Loading branch information
MaartenLMEM authored Aug 26, 2021
2 parents 72c6cf6 + 833eb3a commit a7b9638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/MatchingContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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;
}
Expand Down

0 comments on commit a7b9638

Please sign in to comment.