mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-17 01:27:35 +00:00
cs: Enable risky rule static_lambda.
This commit is contained in:
@@ -161,7 +161,7 @@ class SearchApi
|
||||
private function findQueries($pattern, array $types, array $parameters): array
|
||||
{
|
||||
return array_map(
|
||||
fn ($p) => $p->provideQuery($pattern, $parameters),
|
||||
static fn ($p) => $p->provideQuery($pattern, $parameters),
|
||||
$this->findProviders($pattern, $types, $parameters),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user