From aafde81834835c2740bc2281366841a5e56636a3 Mon Sep 17 00:00:00 2001 From: Pierre Date: Fri, 22 Jan 2016 09:04:54 +0100 Subject: [PATCH 1/2] Incorrect @return line for Client::authorize Was "@return void", whereas the authorize method does return a ClientInferface object in current release. --- src/Google/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Google/Client.php b/src/Google/Client.php index bda66d111..3ea2ce257 100644 --- a/src/Google/Client.php +++ b/src/Google/Client.php @@ -327,7 +327,7 @@ public function createAuthUrl($scope = null) * * @param GuzzleHttp\ClientInterface $http the http client object. * @param GuzzleHttp\ClientInterface $authHttp an http client for authentication. - * @return void + * @return GuzzleHttp\ClientInterface the http client objet */ public function authorize(ClientInterface $http = null, ClientInterface $authHttp = null) { From 36617a83b4027d072cdd8bce144616ee8df037d3 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sun, 24 Jan 2016 12:04:49 +0100 Subject: [PATCH 2/2] fixed typo --- src/Google/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Google/Client.php b/src/Google/Client.php index 3ea2ce257..462c6b0f8 100644 --- a/src/Google/Client.php +++ b/src/Google/Client.php @@ -327,7 +327,7 @@ public function createAuthUrl($scope = null) * * @param GuzzleHttp\ClientInterface $http the http client object. * @param GuzzleHttp\ClientInterface $authHttp an http client for authentication. - * @return GuzzleHttp\ClientInterface the http client objet + * @return GuzzleHttp\ClientInterface the http client object */ public function authorize(ClientInterface $http = null, ClientInterface $authHttp = null) {