mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -74,7 +74,7 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface
|
||||
private function getCenters(): Iterator
|
||||
{
|
||||
$references = array_map(
|
||||
function ($a) { return $a['ref']; },
|
||||
static function ($a) { return $a['ref']; },
|
||||
LoadCenters::$centers
|
||||
);
|
||||
$number = random_int(1, count($references));
|
||||
|
Reference in New Issue
Block a user