Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

/**
* Specify the CloudFront Distribution ID.
* Example format: EBCYQAQALNSKL
* Example format: EBCYQAQALNSKL.
*/
'distribution_id' => env('AWS_CLOUDFRONT_DISTRIBUTION_ID'),

Expand Down
4 changes: 2 additions & 2 deletions src/CloudFront.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Meema\CloudFront;

use Aws\Credentials\Credentials;
use Aws\CloudFront\CloudFrontClient;
use Aws\Credentials\Credentials;
use Aws\Exception\AwsException;
use Meema\CloudFront\Contracts\CloudFront as CloudFrontInterface;

Expand Down Expand Up @@ -109,7 +109,7 @@ public function listInvalidations(string $distributionId = null)
{
try {
$invalidations = $this->client->listInvalidations([
'DistributionId' => $distributionId ?? config('cloudfront.distribution_id') ,
'DistributionId' => $distributionId ?? config('cloudfront.distribution_id'),
]);

$messages = [];
Expand Down
2 changes: 1 addition & 1 deletion src/CloudFrontManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Meema\CloudFront;

use Aws\Credentials\Credentials;
use Aws\CloudFront\CloudFrontClient;
use Aws\Credentials\Credentials;
use Exception;
use Illuminate\Support\Manager;

Expand Down
4 changes: 1 addition & 3 deletions src/Providers/CloudFrontServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

namespace Meema\CloudFront\Providers;

use Illuminate\Routing\Router;
use Illuminate\Support\ServiceProvider;
use Meema\CloudFront\Facades\CloudFront;
use Meema\CloudFront\Http\Middleware\VerifySignature;
use Meema\CloudFront\CloudFrontManager;
use Meema\CloudFront\Facades\CloudFront;

class CloudFrontServiceProvider extends ServiceProvider
{
Expand Down