public static function getAllResults(ClientInterface $client, $url)
    {
        $data = [];
        do {
            $response = $client->get($url);
            $data = array_merge($data, $response->json());

            $url = GithubApplication::parseLinkHeader($response)['next'];
        } while ($url);

        return $data;
    }