mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -23,6 +23,7 @@ use Doctrine\Persistence\ObjectManager;
|
||||
use Iterator;
|
||||
use Nelmio\Alice\Loader\NativeLoader;
|
||||
use Nelmio\Alice\ObjectSet;
|
||||
|
||||
use function array_map;
|
||||
use function count;
|
||||
|
||||
@@ -76,7 +77,9 @@ class LoadThirdParty extends Fixture implements DependentFixtureInterface
|
||||
private function getCenters(): Iterator
|
||||
{
|
||||
$references = array_map(
|
||||
static 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