Skip to content

Commit

Permalink
Also do not change RemoteWebDriver interface (it would be an BC break…
Browse files Browse the repository at this point in the history
… as well)
  • Loading branch information
OndraM committed Jan 13, 2017
1 parent 4066768 commit cd4f352
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Remote/RemoteWebDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
use Facebook\WebDriver\WebDriver;
use Facebook\WebDriver\WebDriverBy;
use Facebook\WebDriver\WebDriverCapabilities;
use Facebook\WebDriver\WebDriverCommandExecutor;
use Facebook\WebDriver\WebDriverElement;
use Facebook\WebDriver\WebDriverHasInputDevices;
use Facebook\WebDriver\WebDriverNavigation;
Expand Down Expand Up @@ -507,10 +508,10 @@ protected function newElement($id)
* @deprecated To be removed in the future. Executor should be passed in the constructor.
* @internal
* @codeCoverageIgnore
* @param HttpCommandExecutor $executor
* @param WebDriverCommandExecutor $executor Despite the typehint, it have be an instance of HttpCommandExecutor.
* @return RemoteWebDriver
*/
public function setCommandExecutor(HttpCommandExecutor $executor)
public function setCommandExecutor(WebDriverCommandExecutor $executor)
{
$this->executor = $executor;

Expand Down

0 comments on commit cd4f352

Please sign in to comment.