mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-31 03:53:49 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -69,9 +69,7 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface
|
||||
private function getCenters(): Iterator
|
||||
{
|
||||
$references = array_map(
|
||||
static function ($a) {
|
||||
return $a['ref'];
|
||||
},
|
||||
static fn($a) => $a['ref'],
|
||||
LoadCenters::$centers
|
||||
);
|
||||
$number = random_int(1, count($references));
|
||||
|
Reference in New Issue
Block a user