Skip to content

Commit 4dae1a5

Browse files
committed
Fixes
1 parent 01d054b commit 4dae1a5

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎lib/Github/Api/Commit.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
99
* @license MIT License
1010
*/
11-
class Github_Api_Commit extends Github_Api_Abstract
11+
class Github_Api_Commit extends Github_Api
1212
{
1313
/**
1414
* List commits by username, repo and branch

‎lib/Github/Api/Issue.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
88
* @license MIT License
99
*/
10-
class Github_Api_Issue extends Github_Api_Abstract
10+
class Github_Api_Issue extends Github_Api
1111
{
1212
/**
1313
* List issues by username, repo and state

‎lib/Github/Api/Object.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
88
* @license MIT License
99
*/
10-
class Github_Api_Object extends Github_Api_Abstract
10+
class Github_Api_Object extends Github_Api
1111
{
1212
/**
1313
* Get a listing of the root tree of a project by the username, repo, and tree SHA

‎lib/Github/Api/Organization.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Antoine Berranger <antoine at ihqs dot net>
99
* @license MIT License
1010
*/
11-
class Github_Api_Organization extends Github_Api_Abstract
11+
class Github_Api_Organization extends Github_Api
1212
{
1313
const ADMIN = "admin";
1414
const PUSH = "push";

‎lib/Github/Api/Repo.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
99
* @license MIT License
1010
*/
11-
class Github_Api_Repo extends Github_Api_Abstract
11+
class Github_Api_Repo extends Github_Api
1212
{
1313
/**
1414
* Search repos by keyword

‎lib/Github/Api/User.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
99
* @license MIT License
1010
*/
11-
class Github_Api_User extends Github_Api_Abstract
11+
class Github_Api_User extends Github_Api
1212
{
1313
/**
1414
* Search users by username

‎lib/Github/HttpClient/Curl.php‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,24 +6,24 @@
66
* @author Thibault Duplessis <thibault.duplessis at gmail dot com>
77
* @license MIT License
88
*/
9-
class Github_HttpClient_Curl extends Github_HttpClient_Abstract
9+
class Github_HttpClient_Curl extends Github_HttpClient
1010
{
1111
/**
1212
* Send a request to the server, receive a response
1313
*
14-
* @param string $url Request url
14+
* @param string $path Request path
1515
* @param array $parameters Parameters
1616
* @param string $httpMethod HTTP method to use
1717
* @param array $options Request options
1818
*
1919
* @return string HTTP response
2020
*/
21-
public function doSend($url, array $parameters = array(), $httpMethod = 'GET', array $options)
21+
public function doSend($path, array $parameters = array(), $httpMethod = 'GET', array $options)
2222
{
2323
$url = strtr($options['url'], array(
2424
':protocol' => $options['protocol'],
2525
':format' => $options['format'],
26-
':path' => trim($url, '/')
26+
':path' => trim($path, '/')
2727
));
2828

2929
$curlOptions = array();

0 commit comments

Comments
 (0)