public function cleanConfig(array $baseConfig, array ...$referenceConfigs): array
    {
        $cleanedConfig = $baseConfig;
        foreach ($referenceConfigs as $referenceConfig) {
            $cleanedConfig = $this->removeIdenticalValues($cleanedConfig, $referenceConfig);
        }

        return $this->sortConfig($cleanedConfig);
    }
public function cleanConfig(array $baseConfig, array ...$referenceConfigs): array
    {
        $cleanedConfig = $baseConfig;
        foreach ($referenceConfigs as $referenceConfig) {
            $cleanedConfig = $this->removeIdenticalValues($cleanedConfig, $referenceConfig);
        }

        return $this->sortConfig($cleanedConfig);
    }
public function cleanConfig ( array $ baseConfig , array ... $ referenceConfigs ) : array { $ cleanedConfig = $ baseConfig ; foreach ( $ referenceConfigs as $ referenceConfig ) { $ cleanedConfig = $ this -> removeIdenticalValues ( $ cleanedConfig , $ referenceConfig ) ; } return $ this -> sortConfig ( $ cleanedConfig ) ; }
Remove all conf settings that are identical to the ones in default config,
which makes the setting obsolete

@param array $baseConfig
@param array[] $referenceConfigs
@return array
Remove all conf settings that are identical to the ones in default config which makes the setting obsolete