Skip to content
This repository was archived by the owner on Nov 26, 2022. It is now read-only.

Commit 5674abc

Browse files
committed
Fix cs
1 parent 413a6fb commit 5674abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Condition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ private function addClauseCondClosure(string $clause, string $andor, callable $c
206206

207207
// Append an opening parenthesis to the prior set of conditions,
208208
// with AND/OR as needed ...
209-
if ($set) {
209+
if (!empty($set)) {
210210
$set[] = new RawExp(strtoupper($andor) . ' (');
211211
} else {
212212
$set[] = new RawExp('(');

0 commit comments

Comments
 (0)