From 2626a8562dc7aa72ef6fe8a3016a02e80598dd9c Mon Sep 17 00:00:00 2001 From: robertSt7 Date: Tue, 17 Dec 2024 13:47:34 +0000 Subject: [PATCH] Apply php-cs-fixer changes --- src/Helper/GridHelperService.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Helper/GridHelperService.php b/src/Helper/GridHelperService.php index 3709913e6..2f5cc959d 100644 --- a/src/Helper/GridHelperService.php +++ b/src/Helper/GridHelperService.php @@ -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; } @@ -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) { @@ -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);