Skip to content

Commit

Permalink
API Explicity mark nullable parameters for PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 28, 2024
1 parent 5fab696 commit 93138de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookWebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ public function getWebDriverSessionId()
* @param RemoteWebElement|null $parent Optional parent element
* @return RemoteWebElement
*/
private function findElement($xpath, RemoteWebElement $parent = null)
private function findElement($xpath, ?RemoteWebElement $parent = null)
{
$finder = WebDriverBy::xpath($xpath);
return $parent
Expand Down

0 comments on commit 93138de

Please sign in to comment.