We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e1fc4 commit cd743c1Copy full SHA for cd743c1
tests/functional/viewonline_test.php
@@ -52,7 +52,7 @@ public function test_viewonline_check_viewonline()
52
{
53
// If we found the admin, we check his page info and leave
54
$subcrawler = $crawler->filter('#page-body table.table1 tr')->eq($i);
55
- if (strpos($subcrawler->filter('td')->text(), 'admin') !== false)
+ if (str_contains($subcrawler->filter('td')->text(), 'admin'))
56
57
try
58
0 commit comments