Skip to content

Commit 64485b2

Browse files
committed
Fix strict standards error
1 parent 518a9e0 commit 64485b2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

lib/Chrome/ChromeDriver.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,15 @@ public function startSession($desired_capabilities) {
5656
/**
5757
* Always throws an exception. Use ChromeDriver::start() instead.
5858
*
59-
* @param string $url The url of the remote server
60-
* @param DesiredCapabilities $desired_capabilities The desired capabilities
61-
* @param int|null $timeout_in_ms
62-
* @param int|null $request_timeout_in_ms
63-
*
6459
* @throws WebDriverException
6560
*/
6661
public static function create(
6762
$url = 'http://localhost:4444/wd/hub',
6863
$desired_capabilities = null,
69-
$timeout_in_ms = null,
70-
$request_timeout_in_ms = null
64+
$connection_timeout_in_ms = null,
65+
$request_timeout_in_ms = null,
66+
$http_proxy = null,
67+
$http_proxy_port = null
7168
) {
7269
throw new WebDriverException('Please use ChromeDriver::start() instead.');
7370
}

0 commit comments

Comments
 (0)