Skip to content

Commit c3bd8e6

Browse files
committed
Remove unnecessary autoloads in API files (#2)
1 parent a01788f commit c3bd8e6

50 files changed

Lines changed: 10 additions & 105 deletions

Some content is hidden

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

resources/templates/Configuration.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class Configuration
120120
* Constructor
121121
*/
122122
public function __construct(string $clientId, string $clientSecret, array $options = [])
123-
{
123+
{
124124
$this->validateOptions($options);
125125

126126
$this->clientId = $clientId;

resources/templates/api.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ use {{invokerPackage}}\Apis\BaseApi;
2323
use {{invokerPackage}}\ApiException;
2424
use {{invokerPackage}}\ObjectSerializer;
2525

26-
require_once __DIR__ . '/../../../../vendor/autoload.php';
27-
2826
/**
2927
* {{classname}} Class Doc Comment
3028
*

src/Apis/CP/US/FeedsApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* FeedsApi Class Doc Comment
3533
*

src/Apis/DSV/US/CostApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* CostApi Class Doc Comment
3533
*

src/Apis/DSV/US/FeedsApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* FeedsApi Class Doc Comment
3533
*

src/Apis/DSV/US/InventoryApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* InventoryApi Class Doc Comment
3533
*

src/Apis/DSV/US/ItemsApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* ItemsApi Class Doc Comment
3533
*

src/Apis/DSV/US/LagTimeApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* LagTimeApi Class Doc Comment
3533
*

src/Apis/DSV/US/OrdersApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* OrdersApi Class Doc Comment
3533
*

src/Apis/DSV/US/ReportsApi.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@
2828
use Walmart\ApiException;
2929
use Walmart\ObjectSerializer;
3030

31-
require_once __DIR__ . '/../../../../vendor/autoload.php';
32-
3331
/**
3432
* ReportsApi Class Doc Comment
3533
*

0 commit comments

Comments
 (0)