src/Api/User.php
public function remove() : void
    {
        if ($this->onlineIdParameter() === 'me') return;

        $this->delete(sprintf(self::USERS_ENDPOINT . 'friendList/%s', $this->client->onlineId(), $this->onlineId()));
    }
public function remove() : void
    {
        if ($this->onlineIdParameter() === 'me') return;

        $this->delete(sprintf(self::USERS_ENDPOINT . 'friendList/%s', $this->client->onlineId(), $this->onlineId()));
    }
public function remove ( ) : void { if ( $ this -> onlineIdParameter ( ) === 'me' ) return ; $ this -> delete ( sprintf ( self :: USERS_ENDPOINT . 'friendList/%s' , $ this -> client -> onlineId ( ) , $ this -> onlineId ( ) ) ) ; }
Remove the User from friends list.

Will not do anything if called on the logged in user.

@return void
Remove the User from friends list .