Skip to content

Commit 82b1947

Browse files
committed
fix php 5.3 incompatibility
1 parent a61a845 commit 82b1947

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/WebDriver/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,10 +498,10 @@ private function serializeArguments(array $arguments)
498498
// preferably we want to detect W3C support and never set nor parse
499499
// LEGACY_ELEMENT_ID, until detection is implemented, serialize to both
500500
// variants, tested with Selenium v2.53.1 and v3.141.59
501-
$arguments[$key] = [
501+
$arguments[$key] = array(
502502
Container::WEBDRIVER_ELEMENT_ID => $value->getID(),
503503
Container::LEGACY_ELEMENT_ID => $value->getID(),
504-
];
504+
);
505505
continue;
506506
}
507507

0 commit comments

Comments
 (0)