src/Mremi/UrlShortener/Provider/Google/GoogleProvider.php
public function expand(LinkInterface $link)
    {
        $client = $this->createClient();

        $response = $client->get($this->getUri(array(
            'shortUrl' => $link->getShortUrl(),
        )), $this->options);

        $response = $this->validate($response->getBody()->getContents(), true);

        $link->setLongUrl($response->longUrl);
    }
public function expand(LinkInterface $link)
    {
        $client = $this->createClient();

        $response = $client->get($this->getUri(array(
            'shortUrl' => $link->getShortUrl(),
        )), $this->options);

        $response = $this->validate($response->getBody()->getContents(), true);

        $link->setLongUrl($response->longUrl);
    }
{@inheritdoc}