src/Factory/AssetFactory.php
private static function createAssetsForSound(array $assets): array
    {
        $result = [];

        foreach ($assets as $key => $path) {
            $result[] = (new Asset())
                ->setType(Asset::TYPE_AUDIO)
                ->setScale(null)
                ->setVersion($key)
                ->setSource($path)
            ;
        }

        return $result;
    }
private static function createAssetsForSound(array $assets): array
    {
        $result = [];

        foreach ($assets as $key => $path) {
            $result[] = (new Asset())
                ->setType(Asset::TYPE_AUDIO)
                ->setScale(null)
                ->setVersion($key)
                ->setSource($path)
            ;
        }

        return $result;
    }
@param array $assets

@return Asset[]