Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpott committed Jul 23, 2024
1 parent 4c871fe commit 369e41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Selenium2Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ public function mouseOver(string $xpath)
$this->doMouseOver($this->findElement($xpath));
}

private function scrollElementIntoView(Element $element) {
private function scrollElementIntoView(Element $element): void {
$script = <<<JS
var e = arguments[0];
e.scrollIntoView({ behavior: 'instant', block: 'end', inline: 'nearest' });
Expand Down

0 comments on commit 369e41e

Please sign in to comment.