ReviewOS

also looking at this

meemalabs/laravel-cloudfront

Apply fixes from StyleCI

#5
Merged chris wants to merge analysis-QMo41o into renovate/configure
4 files +19 -18
src/CloudFront.phpmodifiedformatting only+7-7
Changes to src/CloudFront.php
@@ -19,7 +19,7 @@ class CloudFront implements CloudFrontInterface
1919 /**
2020 * Construct converter.
2121 *
22 * @param \Aws\CloudFront\CloudFrontClient $client
22 * @param \Aws\CloudFront\CloudFrontClient $client
2323 */
2424 public function __construct(CloudFrontClient $client)
2525 {
@@ -45,8 +45,8 @@ class CloudFront implements CloudFrontInterface
4545 /**
4646 * Bust an item/s in CloudFront's cache.
4747 *
48 * @param array|string $paths
49 * @param string|null $distributionId
48 * @param array|string $paths
49 * @param string|null $distributionId
5050 * @return \Aws\Result
5151 */
5252 public function invalidate($paths, string $distributionId = null)
@@ -73,7 +73,7 @@ class CloudFront implements CloudFrontInterface
7373 /**
7474 * Remove every item out of your CloudFront distribution.
7575 *
76 * @param string|null $distributionId
76 * @param string|null $distributionId
7777 * @return \Aws\Result
7878 */
7979 public function reset(string $distributionId = null)
@@ -84,8 +84,8 @@ class CloudFront implements CloudFrontInterface
8484 /**
8585 * Get a cache "invalidation".
8686 *
87 * @param string $invalidationId
88 * @param string|null $distributionId
87 * @param string $invalidationId
88 * @param string|null $distributionId
8989 * @return string
9090 */
9191 public function getInvalidation(string $invalidationId, string $distributionId = null)
@@ -117,7 +117,7 @@ class CloudFront implements CloudFrontInterface
117117 /**
118118 * List all of the cache invalidations.
119119 *
120 * @param string|null $distributionId
120 * @param string|null $distributionId
121121 * @return array
122122 */
123123 public function listInvalidations(string $distributionId = null)
src/CloudFrontManager.phpmodified+5-4
formatting only · 8 hidden lines
Changes to src/CloudFrontManager.php
@@ -12,7 +12,7 @@ class CloudFrontManager extends Manager formatting only
1212 /**
1313 * Get a driver instance.
1414 *
15 * @param string|null $name
15 * @param string|null $name
1616 * @return mixed
1717 */
1818 public function engine($name = null)
Changes to src/CloudFrontManager.php
@@ -24,6 +24,7 @@ class CloudFrontManager extends Manager
2424 * Create an Amazon CloudFront instance.
2525 *
2626 * @return \Meema\CloudFront\CloudFront
27 *
2728 * @throws \Exception
2829 */
2930 public function createCloudFrontDriver(): CloudFront
formatting only · 10 hidden lines
Changes to src/CloudFrontManager.php
@@ -42,8 +43,8 @@ class CloudFrontManager extends Manager formatting only
4243 /**
4344 * Sets the polly client.
4445 *
45 * @param array $config
46 * @param Credentials $credentials
46 * @param array $config
47 * @param Credentials $credentials
4748 * @return \Aws\CloudFront\CloudFrontClient
4849 */
4950 protected function setCloudFrontClient(array $config, Credentials $credentials): CloudFrontClient
formatting only · 8 hidden lines
Changes to src/CloudFrontManager.php
@@ -58,7 +59,7 @@ class CloudFrontManager extends Manager formatting only
5859 /**
5960 * Get credentials of AWS.
6061 *
61 * @param array $credentials
62 * @param array $credentials
6263 * @return \Aws\Credentials\Credentials
6364 */
6465 protected function getCredentials(array $credentials): Credentials
src/Contracts/CloudFront.phpmodifiedformatting only+6-6
Changes to src/Contracts/CloudFront.php
@@ -7,8 +7,8 @@ interface CloudFront
77 /**
88 * Delete items in your CloudFront cache .
99 *
10 * @param array|string $paths
11 * @param string|null $distributionId
10 * @param array|string $paths
11 * @param string|null $distributionId
1212 * @return \Aws\Result
1313 */
1414 public function invalidate($paths, string $distributionId = null);
@@ -16,7 +16,7 @@ interface CloudFront
1616 /**
1717 * Delete everything in your CloudFront cache .
1818 *
19 * @param string|null $distributionId
19 * @param string|null $distributionId
2020 * @return \Aws\Result
2121 */
2222 public function reset(string $distributionId = null);
@@ -24,8 +24,8 @@ interface CloudFront
2424 /**
2525 * Delete items in your CloudFront cache .
2626 *
27 * @param string $invalidationId
28 * @param string|null $distributionId
27 * @param string $invalidationId
28 * @param string|null $distributionId
2929 * @return \Aws\Result
3030 */
3131 public function getInvalidation(string $invalidationId, string $distributionId = null);
@@ -33,7 +33,7 @@ interface CloudFront
3333 /**
3434 * Delete items in your CloudFront cache .
3535 *
36 * @param string|null $distributionId
36 * @param string|null $distributionId
3737 * @return \Aws\Result
3838 */
3939 public function listInvalidations(string $distributionId = null);
src/Jobs/InvalidateCache.phpmodifiedformatting only+1-1
Changes to src/Jobs/InvalidateCache.php
@@ -20,7 +20,7 @@ class InvalidateCache implements ShouldQueue
2020 /**
2121 * Create a new job instance.
2222 *
23 * @param string|array $paths
23 * @param string|array $paths
2424 */
2525 public function __construct($paths, $distributionId = null)
2626 {