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 0d5ffe1 commit 687a571Copy full SHA for 687a571
src/Query/Builder.php
@@ -1266,7 +1266,7 @@ protected function compileWhereBasic(array $where): array
1266
// All backslashes are converted to \\, which are needed in matching regexes.
1267
preg_quote($value),
1268
);
1269
- $flags = ($where['caseSensitive'] ?? false) ? '' : 'i';
+ $flags = $where['caseSensitive'] ?? false ? '' : 'i';
1270
$value = new Regex('^' . $regex . '$', $flags);
1271
1272
// For inverse like operations, we can just use the $not operator with the Regex
0 commit comments