mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 20:13:49 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -90,7 +90,7 @@ class SingleTaskControllerTest extends WebTestCase
|
||||
|
||||
$center = array_filter(
|
||||
$centers,
|
||||
function (Center $c) use ($centerName) {
|
||||
static function (Center $c) use ($centerName) {
|
||||
return $c->getName() === $centerName;
|
||||
}
|
||||
)[0];
|
||||
|
Reference in New Issue
Block a user