Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martineiber authored and github-actions[bot] committed Apr 20, 2023
1 parent c6c8090 commit 707cff5
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -588,6 +588,7 @@ function (DoctrineQueryBuilder $select) use (
* @param string $tableName
* @param bool $languageMode
* @param bool $admin
*
* @return array
*/
protected function getGridFilterCondition(Request $request, $tableName, $languageMode = false, $admin = false)
Expand Down Expand Up @@ -662,7 +663,7 @@ protected function getGridFilterCondition(Request $request, $tableName, $languag
$conditionFilters[] = [
'condition' => $field . ' ' . $operator . ' :' . $placeHolderName,
'field' => $placeHolderName,
'value' => $value
'value' => $value,
];
}
}
Expand All @@ -673,7 +674,7 @@ protected function getGridFilterCondition(Request $request, $tableName, $languag
$conditionFilters[] = [
'condition' => '(lower(' . $tableName . '.key) LIKE :filterTerm OR lower(' . $tableName . '.text) LIKE :filterTerm)',
'field' => 'filterTerm',
'value' => '%' . mb_strtolower($request->get('searchString')) . '%'
'value' => '%' . mb_strtolower($request->get('searchString')) . '%',
];
}

Expand All @@ -694,9 +695,10 @@ protected function getGridFilterCondition(Request $request, $tableName, $languag

$conditionFilters = [
'condition' => implode(' AND ', $conditions),
'params' => $params
'params' => $params,
];
}

return $conditionFilters;
}

Expand Down

0 comments on commit 707cff5

Please sign in to comment.