protected static function ratelimit_reset($response, $repo)
{
if (isset($response['headers']['x-ratelimit-reset'])) {
$reset = (int) $response['headers']['x-ratelimit-reset'];
$wait = date('i', $reset - time());
parent::$error_code[$repo] = array_merge(parent::$error_code[$repo], array('git' => 'github', 'wait' => $wait));
}
}