Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 1a29c7b

Browse files
committed
:octocat: PHPStorm stopped yelling!
1 parent 94d5841 commit 1a29c7b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+289
-499
lines changed

examples/create-docblocks.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,15 @@
1616

1717
$ENVVAR = '';
1818

19-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
20-
$options = null;
21-
22-
/** @var \Psr\Log\LoggerInterface $logger */
23-
$logger = null;
24-
25-
/** @var \Psr\Http\Client\ClientInterface $http */
26-
$http = null;
27-
28-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
29-
$storage = null;
30-
3119
require_once __DIR__.'/provider-example-common.php';
3220

21+
/**
22+
* @var \Psr\Http\Client\ClientInterface $http
23+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
24+
* @var \chillerlan\Settings\SettingsContainerInterface $options
25+
* @var \Psr\Log\LoggerInterface $logger
26+
*/
27+
3328
$table = [
3429
' Provider | API keys | revoke access | OAuth | `ClientCredentials`',
3530
'----------|----------|---------------|-------|--------------------',

examples/get-token/Amazon.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'AMAZON';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$amazon = new Amazon($http, $storage, $options, $logger);
3227

3328
$scopes = [

examples/get-token/BattleNet.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'BATTLENET';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$battlenet = new BattleNet($http, $storage, $options, $logger);
3227

3328
$servicename = $battlenet->serviceName;

examples/get-token/BigCartel.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'BIGCARTEL';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$bigcartel = new BigCartel($http, $storage, $options, $logger);
3227

3328
$servicename = $bigcartel->serviceName;

examples/get-token/Bitbucket.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'BITBUCKET';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$bitbucket = new Bitbucket($http, $storage, $options, $logger);
3227

3328
$servicename = $bitbucket->serviceName;

examples/get-token/Deezer.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'DEEZER';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$deezer = new Deezer($http, $storage, $options, $logger);
3227

3328
$scopes = [

examples/get-token/DeviantArt.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'DEVIANTART';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$deviantart = new DeviantArt($http, $storage, $options, $logger);
3227

3328
$scopes = [

examples/get-token/Discogs.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'DISCOGS';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$discogs = new Discogs($http, $storage, $options, $logger);
3227

3328
$servicename = $discogs->serviceName;

examples/get-token/Discord.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'DISCORD';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$discord = new Discord($http, $storage, $options, $logger);
3227

3328
$scopes = [

examples/get-token/Flickr.php

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@
1414

1515
$ENVVAR = 'FLICKR';
1616

17-
/** @var \chillerlan\Settings\SettingsContainerInterface $options */
18-
$options = null;
19-
20-
/** @var \Psr\Log\LoggerInterface $logger */
21-
$logger = null;
22-
23-
/** @var \Psr\Http\Client\ClientInterface $http */
24-
$http = null;
25-
26-
/** @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage */
27-
$storage = null;
28-
2917
require_once __DIR__.'/../provider-example-common.php';
3018

19+
/**
20+
* @var \Psr\Http\Client\ClientInterface $http
21+
* @var \chillerlan\OAuth\Storage\OAuthStorageInterface $storage
22+
* @var \chillerlan\Settings\SettingsContainerInterface $options
23+
* @var \Psr\Log\LoggerInterface $logger
24+
*/
25+
3126
$flickr = new Flickr($http, $storage, $options, $logger);
3227

3328
$servicename = $flickr->serviceName;

0 commit comments

Comments
 (0)