src/Api/Tag.php
public function update(string $domain, string $tag, string $description)
    {
        Assert::stringNotEmpty($domain);
        Assert::stringNotEmpty($tag);

        $params = [
            'description' => $description,
        ];

        $response = $this->httpPut(sprintf('/v3/%s/tags/%s', $domain, $tag), $params);

        return $this->hydrateResponse($response, UpdateResponse::class);
    }
public function update(string $domain, string $tag, string $description)
    {
        Assert::stringNotEmpty($domain);
        Assert::stringNotEmpty($tag);

        $params = [
            'description' => $description,
        ];

        $response = $this->httpPut(sprintf('/v3/%s/tags/%s', $domain, $tag), $params);

        return $this->hydrateResponse($response, UpdateResponse::class);
    }
public function update ( string $ domain , string $ tag , string $ description ) { Assert :: stringNotEmpty ( $ domain ) ; Assert :: stringNotEmpty ( $ tag ) ; $ params = [ 'description' => $ description , ] ; $ response = $ this -> httpPut ( sprintf ( '/v3/%s/tags/%s' , $ domain , $ tag ) , $ params ) ; return $ this -> hydrateResponse ( $ response , UpdateResponse :: class ) ; }
Update a tag.


@return UpdateResponse|ResponseInterface
Update a tag .