-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade phpstan; increase phpstan level; fix a few bugs
- Loading branch information
Showing
8 changed files
with
88 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Facebook\WebDriver\Remote; | ||
|
||
interface RemoteWebDriver | ||
{ | ||
/** | ||
* @return list<string> | ||
*/ | ||
public function getWindowHandles(): array; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Facebook\WebDriver; | ||
|
||
/** | ||
* To be removed after {@see https://github.com/php-webdriver/php-webdriver/pull/1120} is merged. | ||
*/ | ||
interface WebDriverTimeouts | ||
{ | ||
/** | ||
* @param null|int|float $seconds Wait time in seconds. | ||
*/ | ||
public function implicitlyWait($seconds): self; | ||
|
||
/** | ||
* @param null|int|float $seconds Wait time in seconds. | ||
*/ | ||
public function setScriptTimeout($seconds): self; | ||
|
||
/** | ||
* @param null|int|float $seconds Wait time in seconds. | ||
*/ | ||
public function pageLoadTimeout($seconds): self; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters