Skip to content

Commit d333c7b

Browse files
committed
docs: add comment
1 parent aed3ad6 commit d333c7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/BaseBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ protected function whereHaving(string $qbKey, $key, $value = null, string $type
761761
$k = trim($k);
762762

763763
end($op);
764-
765764
$op = trim(current($op));
766765

766+
// Does the key end with operator?
767767
if (substr($k, -strlen($op)) === $op) {
768768
$k = rtrim(substr($k, 0, -strlen($op)));
769769
$op = " {$op}";

0 commit comments

Comments
 (0)