Skip to content

Commit 9e97a0c

Browse files
committed
refactor: break long lines
1 parent 694b031 commit 9e97a0c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

system/Database/BaseBuilder.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3164,8 +3164,14 @@ protected function compileWhereHaving(string $qbKey): string
31643164
);
31653165

31663166
foreach ($conditions as &$condition) {
3167-
if (($op = $this->getOperator($condition)) === false
3168-
|| ! preg_match('/^(\(?)(.*)(' . preg_quote($op, '/') . ')\s*(.*(?<!\)))?(\)?)$/i', $condition, $matches)
3167+
$op = $this->getOperator($condition);
3168+
if (
3169+
$op === false
3170+
|| ! preg_match(
3171+
'/^(\(?)(.*)(' . preg_quote($op, '/') . ')\s*(.*(?<!\)))?(\)?)$/i',
3172+
$condition,
3173+
$matches
3174+
)
31693175
) {
31703176
continue;
31713177
}

0 commit comments

Comments
 (0)