src/Installer/Package/AbstractPackageInstaller.php
protected function getCombinedFilters($listOfGlobExpressionLists)
    {
        $filters = [];
        foreach ($listOfGlobExpressionLists as $filter) {
            $filters = array_merge($filters, $filter);
        }

        return $filters;
    }
protected function getCombinedFilters($listOfGlobExpressionLists)
    {
        $filters = [];
        foreach ($listOfGlobExpressionLists as $filter) {
            $filters = array_merge($filters, $filter);
        }

        return $filters;
    }
Combine multiple glob expression lists into one list

@param array $listOfGlobExpressionLists E.g. [["*.txt", "*.pdf"], ["*.md"]]

@return array