public static function vehicleModel($brand = null) : string
    {
        $brandsWithModels = CarData::getBrandsWithModels();

        return static::randomElement($brandsWithModels[$brand ?: static::vehicleBrand()]);
    }
public static function vehicleModel($brand = null) : string
    {
        $brandsWithModels = CarData::getBrandsWithModels();

        return static::randomElement($brandsWithModels[$brand ?: static::vehicleBrand()]);
    }
public static function vehicleModel ( $ brand = null ) : string { $ brandsWithModels = CarData :: getBrandsWithModels ( ) ; return static :: randomElement ( $ brandsWithModels [ $ brand ? : static :: vehicleBrand ( ) ] ) ; }
Get random vehicle model

@param null $brand Get random model from specific brand (optional)

@return mixed
Get random vehicle model