public function unstar(LibraryType $library, DirectoryItem $dirItem): bool
    {
        $uri = sprintf(
            '%s/?repo_id=%s&p=%s',
            $this->resourceUri,
            $library->id,
            $dirItem->path
        );

        $response = $this->client->request('DELETE', $uri);

        return $response->getStatusCode() === 200;
    }
public function unstar(LibraryType $library, DirectoryItem $dirItem): bool
    {
        $uri = sprintf(
            '%s/?repo_id=%s&p=%s',
            $this->resourceUri,
            $library->id,
            $dirItem->path
        );

        $response = $this->client->request('DELETE', $uri);

        return $response->getStatusCode() === 200;
    }
public function unstar ( LibraryType $ library , DirectoryItem $ dirItem ) : bool { $ uri = sprintf ( '%s/?repo_id=%s&p=%s' , $ this -> resourceUri , $ library -> id , $ dirItem -> path ) ; $ response = $ this -> client -> request ( 'DELETE' , $ uri ) ; return $ response -> getStatusCode ( ) === 200 ; }
Unstar a file

@param LibraryType   $library Library instance
@param DirectoryItem $dirItem DirectoryItem instance

@return bool
@throws \GuzzleHttp\Exception\GuzzleException
Unstar a file