Skip to content

Commit

Permalink
Use consistent array declaration syntax across PR code
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Feb 23, 2024
1 parent 73869e4 commit b0e2369
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Selenium2Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,10 +467,10 @@ private function serializeWebElement(Element $webElement)
}

// Code for WebDriver 1.x version.
return [
return array(
Container::WEBDRIVER_ELEMENT_ID => $webElement->getID(),
Container::LEGACY_ELEMENT_ID => $webElement->getID(),
];
);
}

public function setCookie(string $name, ?string $value = null)
Expand Down

0 comments on commit b0e2369

Please sign in to comment.