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

Commit 50be1fd

Browse files
committed
PHPDoc: WebDriverElement::getAttribute may return null
1 parent bc08cfa commit 50be1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriverElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function click();
3838
* Get the value of a the given attribute of the element.
3939
*
4040
* @param string $attribute_name The name of the attribute.
41-
* @return string The value of the attribute.
41+
* @return string|null The value of the attribute.
4242
*/
4343
public function getAttribute($attribute_name);
4444

0 commit comments

Comments
 (0)