Skip to content

Commit 26aba30

Browse files
committed
Updated SDK to latest open api schema
1 parent 30695ac commit 26aba30

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

rector.php

+7-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
declare(strict_types=1);
44

5+
use Rector\Core\Configuration\Option;
56
use Rector\Set\ValueObject\SetList;
67
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
78

@@ -10,12 +11,15 @@
1011
$parameters = $containerConfigurator->parameters();
1112
$services = $containerConfigurator->services();
1213

14+
// paths to refactor; solid alternative to CLI arguments
15+
$parameters->set(Option::PATHS, [
16+
__DIR__ . '/src/AmazonPHP/SellingPartner/Api',
17+
__DIR__ . '/src/AmazonPHP/SellingPartner/Model',
18+
]);
19+
1320
// Define what rule sets will be applied
1421
$containerConfigurator->import(SetList::DEAD_CODE);
1522
$containerConfigurator->import(SetList::PHP_73);
1623
$containerConfigurator->import(SetList::PHP_74);
1724
$containerConfigurator->import(SetList::TYPE_DECLARATION);
18-
19-
// register a single rule
20-
// $services->set(TypedPropertyRector::class);
2125
};

src/AmazonPHP/SellingPartner/Model/Tokens/CreateRestrictedDataTokenResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public function getRestrictedDataToken() : ?string
224224
/**
225225
* Sets restricted_data_token.
226226
*
227-
* @param null|string $restricted_data_token A Restricted Data Token (RDT). This is a short-lived access token that authorizes you to access the restricted resources that you specified. Pass this value with the x-amzn-access-token header when making subsequent calls to these restricted resources.
227+
* @param null|string $restricted_data_token A Restricted Data Token (RDT). This is a short-lived access token that authorizes you to access the restricted resources that you specified. Pass this value with the x-amz-access-token header when making subsequent calls to these restricted resources.
228228
*/
229229
public function setRestrictedDataToken(?string $restricted_data_token) : self
230230
{

0 commit comments

Comments
 (0)