Skip to content

Commit

Permalink
prevent deprecation being triggered from assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Feb 28, 2020
1 parent da0e2f9 commit 08fd622
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ protected function matches($crawler): bool
return false;
}

return false !== mb_strpos($crawler->text(), $this->expectedText);
return false !== mb_strpos($crawler->text(null, false), $this->expectedText);
}

/**
Expand Down

0 comments on commit 08fd622

Please sign in to comment.