Skip to content

Commit ba43e64

Browse files
committed
2 parents 2cce2e9 + b04c319 commit ba43e64

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
/**
2121
* Specify the CloudFront Distribution ID.
22-
* Example format: EBCYQAQALNSKL
22+
* Example format: EBCYQAQALNSKL.
2323
*/
2424
'distribution_id' => env('AWS_CLOUDFRONT_DISTRIBUTION_ID'),
2525

src/CloudFront.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Meema\CloudFront;
44

5-
use Aws\Credentials\Credentials;
65
use Aws\CloudFront\CloudFrontClient;
6+
use Aws\Credentials\Credentials;
77
use Aws\Exception\AwsException;
88
use Meema\CloudFront\Contracts\CloudFront as CloudFrontInterface;
99

@@ -109,7 +109,7 @@ public function listInvalidations(string $distributionId = null)
109109
{
110110
try {
111111
$invalidations = $this->client->listInvalidations([
112-
'DistributionId' => $distributionId ?? config('cloudfront.distribution_id') ,
112+
'DistributionId' => $distributionId ?? config('cloudfront.distribution_id'),
113113
]);
114114

115115
$messages = [];

src/CloudFrontManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Meema\CloudFront;
44

5-
use Aws\Credentials\Credentials;
65
use Aws\CloudFront\CloudFrontClient;
6+
use Aws\Credentials\Credentials;
77
use Exception;
88
use Illuminate\Support\Manager;
99

src/Providers/CloudFrontServiceProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
namespace Meema\CloudFront\Providers;
44

5-
use Illuminate\Routing\Router;
65
use Illuminate\Support\ServiceProvider;
7-
use Meema\CloudFront\Facades\CloudFront;
8-
use Meema\CloudFront\Http\Middleware\VerifySignature;
96
use Meema\CloudFront\CloudFrontManager;
7+
use Meema\CloudFront\Facades\CloudFront;
108

119
class CloudFrontServiceProvider extends ServiceProvider
1210
{

0 commit comments

Comments
 (0)