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