Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit 8eb1952

Browse files
committed
Merge pull request #234 from asystance/phpdoc-fix-array-types
improved some @return type docs
2 parents b00bf17 + 2223ea5 commit 8eb1952

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/WebDriverSearchContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function findElement(WebDriverBy $locator);
3636
* Find all WebDriverElements within this element using the given mechanism.
3737
*
3838
* @param WebDriverBy $locator
39-
* @return array A list of all WebDriverElements, or an empty array if
39+
* @return WebDriverElement[] A list of all WebDriverElements, or an empty array if
4040
* nothing matches
4141
* @see WebDriverBy
4242
*/

lib/WebDriverSelect.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ public function isMultiple() {
4848
}
4949

5050
/**
51-
* @return array All options belonging to this select tag.
51+
* @return WebDriverElement[] All options belonging to this select tag.
5252
*/
5353
public function getOptions() {
5454
return $this->element->findElements(WebDriverBy::tagName('option'));
5555
}
5656

5757
/**
58-
* @return array All selected options belonging to this select tag.
58+
* @return WebDriverElement[] All selected options belonging to this select tag.
5959
*/
6060
public function getAllSelectedOptions() {
6161
$selected_options = array();

0 commit comments

Comments
 (0)