ReviewOS

also looking at this

meemalabs/laravel-cloudfront

Apply fixes from StyleCI

#1
Merged chris wants to merge analysis-VrW9a6 into master
4 files +5 -7
config/config.phpmodified+1-1
Changes to config/config.php
@@ -19,7 +19,7 @@ return [
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.phpmodifiedformatting only+2-2
Changes to src/CloudFront.php
@@ -2,8 +2,8 @@
22
33namespace Meema\CloudFront;
44
5use Aws\Credentials\Credentials;
65use Aws\CloudFront\CloudFrontClient;
6use Aws\Credentials\Credentials;
77use Aws\Exception\AwsException;
88use Meema\CloudFront\Contracts\CloudFront as CloudFrontInterface;
99
@@ -109,7 +109,7 @@ class CloudFront implements CloudFrontInterface
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.phpmodifiedformatting only+1-1
Changes to src/CloudFrontManager.php
@@ -2,8 +2,8 @@
22
33namespace Meema\CloudFront;
44
5use Aws\Credentials\Credentials;
65use Aws\CloudFront\CloudFrontClient;
6use Aws\Credentials\Credentials;
77use Exception;
88use Illuminate\Support\Manager;
99
src/Providers/CloudFrontServiceProvider.phpmodified+1-3
Changes to src/Providers/CloudFrontServiceProvider.php
@@ -2,11 +2,9 @@
22
33namespace Meema\CloudFront\Providers;
44
5use Illuminate\Routing\Router;
65use Illuminate\Support\ServiceProvider;
7use Meema\CloudFront\Facades\CloudFront;
8use Meema\CloudFront\Http\Middleware\VerifySignature;
96use Meema\CloudFront\CloudFrontManager;
7use Meema\CloudFront\Facades\CloudFront;
108
119class CloudFrontServiceProvider extends ServiceProvider
1210{