Skip to content

Commit

Permalink
Remove the parentheses from return calls
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipxe13 committed Mar 7, 2024
1 parent 24d26e0 commit dc49055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Internal/RetentionReaderXpath.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function __construct(

public function matchDocument(): bool
{
return ($this->expectedVersion === $this->obtainFirstAttributeValue($this->queryVersion));
return $this->expectedVersion === $this->obtainFirstAttributeValue($this->queryVersion);
}

public function obtainUUID(): string
Expand Down
2 changes: 1 addition & 1 deletion src/Scraper.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function obtainStatus(Parameters $parameters): Result

public function responseIsNotFound(Crawler $crawler): bool
{
return ($crawler->filter('.noresultados')->count() > 0);
return $crawler->filter('.noresultados')->count() > 0;
}

public function makeUrl(Parameters $parameters): string
Expand Down

0 comments on commit dc49055

Please sign in to comment.