Skip to content

Commit

Permalink
apply phpcbf formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN authored and github-actions[bot] committed Aug 21, 2024
1 parent 0d5ffe1 commit 687a571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ protected function compileWhereBasic(array $where): array
// All backslashes are converted to \\, which are needed in matching regexes.
preg_quote($value),
);
$flags = ($where['caseSensitive'] ?? false) ? '' : 'i';
$flags = $where['caseSensitive'] ?? false ? '' : 'i';
$value = new Regex('^' . $regex . '$', $flags);

// For inverse like operations, we can just use the $not operator with the Regex
Expand Down

0 comments on commit 687a571

Please sign in to comment.