Skip to content

Commit

Permalink
Merge pull request silverstripe#29 from creative-commoners/pulls/2/php84
Browse files Browse the repository at this point in the history
API Explicity mark nullable parameters for PHP 8.4
  • Loading branch information
GuySartorelli authored Dec 2, 2024
2 parents 5fab696 + 93138de commit 5e7f1d0
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 5e7f1d0

Please sign in to comment.