Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion system/Database/BaseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3175,6 +3175,7 @@ protected function compileWhereHaving(string $qbKey): string
) {
continue;
}

// $matches = [
// 0 => '(test <= foo)', /* the whole thing */
// 1 => '(', /* optional */
Expand All @@ -3184,7 +3185,7 @@ protected function compileWhereHaving(string $qbKey): string
// 5 => ')' /* optional */
// ];

if (isset($matches[4]) && $matches[4] !== '') {
if ($matches[4] !== '') {
$protectIdentifiers = false;
if (str_contains($matches[4], '.')) {
$protectIdentifiers = true;
Expand Down
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/isset.offset.neon

This file was deleted.

1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ includes:
- expr.resultUnused.neon
- function.alreadyNarrowedType.neon
- generator.valueType.neon
- isset.offset.neon
- isset.property.neon
- method.alreadyNarrowedType.neon
- method.childParameterType.neon
Expand Down
Loading