mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-26 16:45:01 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -276,8 +276,10 @@ class SearchProvider
|
||||
//remove from search pattern
|
||||
$this->mustBeExtracted[] = $matches[0][$key];
|
||||
//strip parenthesis
|
||||
if (mb_substr($match, 0, 1) === '"'
|
||||
&& mb_substr($match, mb_strlen($match) - 1) === '"') {
|
||||
if (
|
||||
mb_substr($match, 0, 1) === '"'
|
||||
&& mb_substr($match, mb_strlen($match) - 1) === '"'
|
||||
) {
|
||||
$match = trim(mb_substr($match, 1, mb_strlen($match) - 2));
|
||||
}
|
||||
$terms[$matches[1][$key]] = $match;
|
||||
|
Reference in New Issue
Block a user