also looking at this
Apply fixes from StyleCI
#5
4 files
+19
-18
| @@ -19,7 +19,7 @@ class CloudFront implements CloudFrontInterface | ||
| 19 | 19 | /** |
| 20 | 20 | * Construct converter. |
| 21 | 21 | * |
| 22 | * @param \Aws\CloudFront\CloudFrontClient $client | |
| 22 | * @param \Aws\CloudFront\CloudFrontClient $client | |
| 23 | 23 | */ |
| 24 | 24 | public function __construct(CloudFrontClient $client) |
| 25 | 25 | { |
| @@ -45,8 +45,8 @@ class CloudFront implements CloudFrontInterface | ||
| 45 | 45 | /** |
| 46 | 46 | * Bust an item/s in CloudFront's cache. |
| 47 | 47 | * |
| 48 | * @param array|string $paths | |
| 49 | * @param string|null $distributionId | |
| 48 | * @param array|string $paths | |
| 49 | * @param string|null $distributionId | |
| 50 | 50 | * @return \Aws\Result |
| 51 | 51 | */ |
| 52 | 52 | public function invalidate($paths, string $distributionId = null) |
| @@ -73,7 +73,7 @@ class CloudFront implements CloudFrontInterface | ||
| 73 | 73 | /** |
| 74 | 74 | * Remove every item out of your CloudFront distribution. |
| 75 | 75 | * |
| 76 | * @param string|null $distributionId | |
| 76 | * @param string|null $distributionId | |
| 77 | 77 | * @return \Aws\Result |
| 78 | 78 | */ |
| 79 | 79 | public function reset(string $distributionId = null) |
| @@ -84,8 +84,8 @@ class CloudFront implements CloudFrontInterface | ||
| 84 | 84 | /** |
| 85 | 85 | * Get a cache "invalidation". |
| 86 | 86 | * |
| 87 | * @param string $invalidationId | |
| 88 | * @param string|null $distributionId | |
| 87 | * @param string $invalidationId | |
| 88 | * @param string|null $distributionId | |
| 89 | 89 | * @return string |
| 90 | 90 | */ |
| 91 | 91 | public function getInvalidation(string $invalidationId, string $distributionId = null) |
| @@ -117,7 +117,7 @@ class CloudFront implements CloudFrontInterface | ||
| 117 | 117 | /** |
| 118 | 118 | * List all of the cache invalidations. |
| 119 | 119 | * |
| 120 | * @param string|null $distributionId | |
| 120 | * @param string|null $distributionId | |
| 121 | 121 | * @return array |
| 122 | 122 | */ |
| 123 | 123 | public function listInvalidations(string $distributionId = null) |