source/Internal/Application/DataObject/DIConfigWrapper.php
private function removeEmptySections()
    {
        $sections = [$this::IMPORTS_SECTION, $this::SERVICE_SECTION];
        foreach ($sections as $section) {
            if (array_key_exists($section, $this->configArray) &&
                (!$this->configArray[$section] || !count($this->configArray[$section]))) {
                unset($this->configArray[$section]);
            }
        }
    }
private function removeEmptySections()
    {
        $sections = [$this::IMPORTS_SECTION, $this::SERVICE_SECTION];
        foreach ($sections as $section) {
            if (array_key_exists($section, $this->configArray) &&
                (!$this->configArray[$section] || !count($this->configArray[$section]))) {
                unset($this->configArray[$section]);
            }
        }
    }
private function removeEmptySections ( ) { $ sections = [ $ this :: IMPORTS_SECTION , $ this :: SERVICE_SECTION ] ; foreach ( $ sections as $ section ) { if ( array_key_exists ( $ section , $ this -> configArray ) && ( ! $ this -> configArray [ $ section ] || ! count ( $ this -> configArray [ $ section ] ) ) ) { unset ( $ this -> configArray [ $ section ] ) ; } } }
Removes section entries when they are empty
Removes section entries when they are empty