protected function removeDots(array $settings): array
    {
        $conf = [];
        foreach ($settings as $key => $value) {
            $conf[$this->removeDotAtTheEnd($key)] = \is_array($value) ? $this->removeDots($value) : $value;
        }
        return $conf;
    }
protected function removeDots(array $settings): array
    {
        $conf = [];
        foreach ($settings as $key => $value) {
            $conf[$this->removeDotAtTheEnd($key)] = \is_array($value) ? $this->removeDots($value) : $value;
        }
        return $conf;
    }
protected function removeDots ( array $ settings ) : array { $ conf = [ ] ; foreach ( $ settings as $ key => $ value ) { $ conf [ $ this -> removeDotAtTheEnd ( $ key ) ] = \ is_array ( $ value ) ? $ this -> removeDots ( $ value ) : $ value ; } return $ conf ; }
Removes dots at the end of a configuration array

@param array $settings the array to transformed
@return array $settings the transformed array
Removes dots at the end of a configuration array