src/SMS/OutGoingSMS.php
public function removeGroup(int $index): void
    {
        unset($this->groups[$index]);
        $this->groups = array_values($this->groups);
    }
public function removeGroup(int $index): void
    {
        unset($this->groups[$index]);
        $this->groups = array_values($this->groups);
    }
public function removeGroup ( int $ index ) : void { unset ( $ this -> groups [ $ index ] ) ; $ this -> groups = array_values ( $ this -> groups ) ; }
Removes the Group in the given index and reindexes the array.
@param integer $index The index being requested for deletion.
@return void
Removes the Group in the given index and reindexes the array .