mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 08:05:00 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -65,7 +65,7 @@ abstract class AbstractSearch implements SearchInterface
|
||||
foreach ($supportedTerms as $term) {
|
||||
if (array_key_exists($term, $terms) && '_default' !== $term) {
|
||||
$recomposed .= ' ' . $term . ':';
|
||||
$containsSpace = strpos($terms[$term], ' ') !== false;
|
||||
$containsSpace = str_contains($terms[$term], ' ');
|
||||
|
||||
if ($containsSpace) {
|
||||
$recomposed .= '"';
|
||||
|
Reference in New Issue
Block a user