Skip to content

Commit 80fa4c9

Browse files
authored
chore: updated phpdoc classnames (#1977)
1 parent 9ee2561 commit 80fa4c9

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

src/Client.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ class Client
5757
const API_BASE_PATH = 'https://www.googleapis.com';
5858

5959
/**
60-
* @var Google\Auth\OAuth2 $auth
60+
* @var OAuth2 $auth
6161
*/
6262
private $auth;
6363

6464
/**
65-
* @var GuzzleHttp\ClientInterface $http
65+
* @var ClientInterface $http
6666
*/
6767
private $http;
6868

6969
/**
70-
* @var Psr\Cache\CacheItemPoolInterface $cache
70+
* @var CacheItemPoolInterface $cache
7171
*/
7272
private $cache;
7373

@@ -82,7 +82,7 @@ class Client
8282
private $config;
8383

8484
/**
85-
* @var Psr\Log\LoggerInterface $logger
85+
* @var LoggerInterface $logger
8686
*/
8787
private $logger;
8888

@@ -400,8 +400,8 @@ public function createAuthUrl($scope = null)
400400
* Adds auth listeners to the HTTP client based on the credentials
401401
* set in the Google API Client object
402402
*
403-
* @param GuzzleHttp\ClientInterface $http the http client object.
404-
* @return GuzzleHttp\ClientInterface the http client object
403+
* @param ClientInterface $http the http client object.
404+
* @return ClientInterface the http client object
405405
*/
406406
public function authorize(ClientInterface $http = null)
407407
{
@@ -853,9 +853,9 @@ public function prepareScopes()
853853
/**
854854
* Helper method to execute deferred HTTP requests.
855855
*
856-
* @param $request Psr\Http\Message\RequestInterface|Google\Http\Batch
856+
* @param $request RequestInterface|\Google\Http\Batch
857857
* @param string $expectedClass
858-
* @throws Google\Exception
858+
* @throws \Google\Exception
859859
* @return object of the type of the expected class or Psr\Http\Message\ResponseInterface.
860860
*/
861861
public function execute(RequestInterface $request, $expectedClass = null)
@@ -1025,7 +1025,7 @@ public function shouldDefer()
10251025
}
10261026

10271027
/**
1028-
* @return Google\Auth\OAuth2 implementation
1028+
* @return OAuth2 implementation
10291029
*/
10301030
public function getOAuth2Service()
10311031
{
@@ -1059,15 +1059,15 @@ protected function createOAuth2Service()
10591059

10601060
/**
10611061
* Set the Cache object
1062-
* @param Psr\Cache\CacheItemPoolInterface $cache
1062+
* @param CacheItemPoolInterface $cache
10631063
*/
10641064
public function setCache(CacheItemPoolInterface $cache)
10651065
{
10661066
$this->cache = $cache;
10671067
}
10681068

10691069
/**
1070-
* @return Psr\Cache\CacheItemPoolInterface Cache implementation
1070+
* @return CacheItemPoolInterface Cache implementation
10711071
*/
10721072
public function getCache()
10731073
{
@@ -1088,15 +1088,15 @@ public function setCacheConfig(array $cacheConfig)
10881088

10891089
/**
10901090
* Set the Logger object
1091-
* @param Psr\Log\LoggerInterface $logger
1091+
* @param LoggerInterface $logger
10921092
*/
10931093
public function setLogger(LoggerInterface $logger)
10941094
{
10951095
$this->logger = $logger;
10961096
}
10971097

10981098
/**
1099-
* @return Psr\Log\LoggerInterface implementation
1099+
* @return LoggerInterface implementation
11001100
*/
11011101
public function getLogger()
11021102
{
@@ -1127,15 +1127,15 @@ protected function createDefaultCache()
11271127

11281128
/**
11291129
* Set the Http Client object
1130-
* @param GuzzleHttp\ClientInterface $http
1130+
* @param ClientInterface $http
11311131
*/
11321132
public function setHttpClient(ClientInterface $http)
11331133
{
11341134
$this->http = $http;
11351135
}
11361136

11371137
/**
1138-
* @return GuzzleHttp\ClientInterface implementation
1138+
* @return ClientInterface implementation
11391139
*/
11401140
public function getHttpClient()
11411141
{

0 commit comments

Comments
 (0)