src/View/Helper/PanelHelper.php
public function endGroup() {
        $out = '';
        while ($this->_states->is('panel')) { // panels were not closed
            $out .= $this->end();
        }
        $out .= $this->formatTemplate('panelGroupEnd', []);
        $this->_states->pop();
        return $out;
    }
public function endGroup() {
        $out = '';
        while ($this->_states->is('panel')) { // panels were not closed
            $out .= $this->end();
        }
        $out .= $this->formatTemplate('panelGroupEnd', []);
        $this->_states->pop();
        return $out;
    }
public function endGroup ( ) { $ out = '' ; while ( $ this -> _states -> is ( 'panel' ) ) { // panels were not closed $ out .= $ this -> end ( ) ; } $ out .= $ this -> formatTemplate ( 'panelGroupEnd' , [ ] ) ; $ this -> _states -> pop ( ) ; return $ out ; }
Closes a panel group, closes the last panel if it has not already been closed.

@return string An HTML string containing closing tags.
Closes a panel group closes the last panel if it has not already been closed .