public static function deleteRepository($delete_url, $token) { $headers[] = sprintf('Authorization: token %s', $token); $delete_url = 'https://api.github.com/repos/' . $delete_url; return CurlComunication::simpleDelete($delete_url, $headers); }