Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 authored and github-actions[bot] committed Dec 17, 2024
1 parent 10815c5 commit 2626a85
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/Helper/GridHelperService.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,8 +315,8 @@ public function getFilterCondition(string $filterJson, ClassDefinition $class, ?
$fieldConditions = [];
foreach ($filter['value'] as $filterValue) {
$brickCondition = '(' . $brickField->getFilterCondition($filterValue, $operator,
['brickPrefix' => $brickPrefix]
) . ' AND ' . $brickType . '.fieldname = ' . $db->quote($brickFilterField) . ')';
['brickPrefix' => $brickPrefix]
) . ' AND ' . $brickType . '.fieldname = ' . $db->quote($brickFilterField) . ')';
$fieldConditions[] = $brickCondition;
}

Expand All @@ -325,7 +325,7 @@ public function getFilterCondition(string $filterJson, ClassDefinition $class, ?
}
} else {
$brickCondition = '(' . $brickField->getFilterCondition($filter['value'], $operator,
['brickPrefix' => $brickPrefix]) . ' AND ' . $brickType . '.fieldname = ' . $db->quote($brickFilterField) . ')';
['brickPrefix' => $brickPrefix]) . ' AND ' . $brickType . '.fieldname = ' . $db->quote($brickFilterField) . ')';
$conditionPartsFilters[] = $brickCondition;
}
} elseif ($field instanceof ClassDefinition\Data\UrlSlug) {
Expand Down Expand Up @@ -948,8 +948,7 @@ private function optimizedConcatNotLike(
string $fullpath,
bool $onlyChildren = false,
string $type = 'object'
): string
{
): string {
$pathParts = explode('/', $fullpath);
$leaf = array_pop($pathParts);
$path = implode('/', $pathParts);
Expand Down

0 comments on commit 2626a85

Please sign in to comment.