Skip to content

Commit e33e2f1

Browse files
KarlKellKarlKell
authored andcommitted
changed != to !== so that 0 != False will evaluate to False
1 parent ef59dc7 commit e33e2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/WebDriverExpectedCondition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function ($driver) use ($title) {
5757
public static function titleContains($title) {
5858
return new WebDriverExpectedCondition(
5959
function ($driver) use ($title) {
60-
return strpos($driver->getTitle(), $title) != False;
60+
return strpos($driver->getTitle(), $title) !== False;
6161
}
6262
);
6363
}

0 commit comments

Comments
 (0)