cs: Fix code-style (using PHPCSFixer and PHPCS).

This commit is contained in:
Pol Dellaiera
2021-12-21 10:59:23 +01:00
parent b7360955f7
commit 8401ce2656
280 changed files with 742 additions and 319 deletions

View File

@@ -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));