Reverse logic operators.

This commit is contained in:
James Cole
2020-10-24 16:59:56 +02:00
parent 179a710c5b
commit b3f1737495
11 changed files with 52 additions and 31 deletions

View File

@@ -252,7 +252,7 @@ class DebugController extends Controller
if (in_array('GET', $route->methods(), true)) {
$found = false;
foreach ($ignore as $string) {
if (!(false === stripos($name, $string))) {
if (false !== stripos($name, $string)) {
$found = true;
break;
}