src/Repositories/GitHubRepository.php
public function get()
    {
        try {
            $headers = ['Accept' => self::ACCEPT_HEADER];

            if ($this->token) {
                $headers['Authorization'] = "token {$this->token}";
            }

            $response = $this->client->request('get', self::API_URL, ['headers' => $headers]);

            return (array) json_decode((string) $response->getBody(), true);
        } catch (Exception $e) {
            throw new FetchException($e);
        }
    }
public function get()
    {
        try {
            $headers = ['Accept' => self::ACCEPT_HEADER];

            if ($this->token) {
                $headers['Authorization'] = "token {$this->token}";
            }

            $response = $this->client->request('get', self::API_URL, ['headers' => $headers]);

            return (array) json_decode((string) $response->getBody(), true);
        } catch (Exception $e) {
            throw new FetchException($e);
        }
    }
Fetch the emoji map.

@throws \AltThree\Emoji\Exceptions\FetchException

@return array