Skip to content

Commit b9360a0

Browse files
authored
Update php-cs-fixer (#1353)
1 parent 7d922f8 commit b9360a0

8 files changed

+23
-18
lines changed

src/Input/AddLayerVersionPermissionRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ final class AddLayerVersionPermissionRequest extends Input
8080
* Principal?: string,
8181
* OrganizationId?: string,
8282
* RevisionId?: string,
83+
*
8384
* @region?: string,
8485
* } $input
8586
*/

src/Input/DeleteFunctionRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ final class DeleteFunctionRequest extends Input
2929
* @param array{
3030
* FunctionName?: string,
3131
* Qualifier?: string,
32+
*
3233
* @region?: string,
3334
* } $input
3435
*/

src/Input/InvocationRequest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ final class InvocationRequest extends Input
6363
* ClientContext?: string,
6464
* Payload?: string,
6565
* Qualifier?: string,
66+
*
6667
* @region?: string,
6768
* } $input
6869
*/
@@ -130,14 +131,12 @@ public function request(): Request
130131
throw new InvalidArgument(sprintf('Invalid parameter "InvocationType" for "%s". The value "%s" is not a valid "InvocationType".', __CLASS__, $this->invocationType));
131132
}
132133
$headers['X-Amz-Invocation-Type'] = $this->invocationType;
133-
}
134-
if (null !== $this->logType) {
134+
}if (null !== $this->logType) {
135135
if (!LogType::exists($this->logType)) {
136136
throw new InvalidArgument(sprintf('Invalid parameter "LogType" for "%s". The value "%s" is not a valid "LogType".', __CLASS__, $this->logType));
137137
}
138138
$headers['X-Amz-Log-Type'] = $this->logType;
139-
}
140-
if (null !== $this->clientContext) {
139+
}if (null !== $this->clientContext) {
141140
$headers['X-Amz-Client-Context'] = $this->clientContext;
142141
}
143142

src/Input/ListFunctionsRequest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ final class ListFunctionsRequest extends Input
4747
* FunctionVersion?: FunctionVersion::*,
4848
* Marker?: string,
4949
* MaxItems?: int,
50+
*
5051
* @region?: string,
5152
* } $input
5253
*/
@@ -99,17 +100,14 @@ public function request(): Request
99100
$query = [];
100101
if (null !== $this->masterRegion) {
101102
$query['MasterRegion'] = $this->masterRegion;
102-
}
103-
if (null !== $this->functionVersion) {
103+
}if (null !== $this->functionVersion) {
104104
if (!FunctionVersion::exists($this->functionVersion)) {
105105
throw new InvalidArgument(sprintf('Invalid parameter "FunctionVersion" for "%s". The value "%s" is not a valid "FunctionVersion".', __CLASS__, $this->functionVersion));
106106
}
107107
$query['FunctionVersion'] = $this->functionVersion;
108-
}
109-
if (null !== $this->marker) {
108+
}if (null !== $this->marker) {
110109
$query['Marker'] = $this->marker;
111-
}
112-
if (null !== $this->maxItems) {
110+
}if (null !== $this->maxItems) {
113111
$query['MaxItems'] = (string) $this->maxItems;
114112
}
115113

src/Input/ListLayerVersionsRequest.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ final class ListLayerVersionsRequest extends Input
5757
* Marker?: string,
5858
* MaxItems?: int,
5959
* CompatibleArchitecture?: Architecture::*,
60+
*
6061
* @region?: string,
6162
* } $input
6263
*/
@@ -121,14 +122,11 @@ public function request(): Request
121122
throw new InvalidArgument(sprintf('Invalid parameter "CompatibleRuntime" for "%s". The value "%s" is not a valid "Runtime".', __CLASS__, $this->compatibleRuntime));
122123
}
123124
$query['CompatibleRuntime'] = $this->compatibleRuntime;
124-
}
125-
if (null !== $this->marker) {
125+
}if (null !== $this->marker) {
126126
$query['Marker'] = $this->marker;
127-
}
128-
if (null !== $this->maxItems) {
127+
}if (null !== $this->maxItems) {
129128
$query['MaxItems'] = (string) $this->maxItems;
130-
}
131-
if (null !== $this->compatibleArchitecture) {
129+
}if (null !== $this->compatibleArchitecture) {
132130
if (!Architecture::exists($this->compatibleArchitecture)) {
133131
throw new InvalidArgument(sprintf('Invalid parameter "CompatibleArchitecture" for "%s". The value "%s" is not a valid "Architecture".', __CLASS__, $this->compatibleArchitecture));
134132
}

src/Input/ListVersionsByFunctionRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ final class ListVersionsByFunctionRequest extends Input
3838
* FunctionName?: string,
3939
* Marker?: string,
4040
* MaxItems?: int,
41+
*
4142
* @region?: string,
4243
* } $input
4344
*/
@@ -81,8 +82,7 @@ public function request(): Request
8182
$query = [];
8283
if (null !== $this->marker) {
8384
$query['Marker'] = $this->marker;
84-
}
85-
if (null !== $this->maxItems) {
85+
}if (null !== $this->maxItems) {
8686
$query['MaxItems'] = (string) $this->maxItems;
8787
}
8888

src/Input/PublishLayerVersionRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ final class PublishLayerVersionRequest extends Input
7070
* CompatibleRuntimes?: list<Runtime::*>,
7171
* LicenseInfo?: string,
7272
* CompatibleArchitectures?: list<Architecture::*>,
73+
*
7374
* @region?: string,
7475
* } $input
7576
*/

src/LambdaClient.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class LambdaClient extends AbstractApi
8080
* Principal: string,
8181
* OrganizationId?: string,
8282
* RevisionId?: string,
83+
*
8384
* @region?: string,
8485
* }|AddLayerVersionPermissionRequest $input
8586
*
@@ -117,6 +118,7 @@ public function addLayerVersionPermission($input): AddLayerVersionPermissionResp
117118
* @param array{
118119
* FunctionName: string,
119120
* Qualifier?: string,
121+
*
120122
* @region?: string,
121123
* }|DeleteFunctionRequest $input
122124
*
@@ -154,6 +156,7 @@ public function deleteFunction($input): Result
154156
* ClientContext?: string,
155157
* Payload?: string,
156158
* Qualifier?: string,
159+
*
157160
* @region?: string,
158161
* }|InvocationRequest $input
159162
*
@@ -237,6 +240,7 @@ public function invoke($input): InvocationResponse
237240
* FunctionVersion?: FunctionVersion::*,
238241
* Marker?: string,
239242
* MaxItems?: int,
243+
*
240244
* @region?: string,
241245
* }|ListFunctionsRequest $input
242246
*
@@ -272,6 +276,7 @@ public function listFunctions($input = []): ListFunctionsResponse
272276
* Marker?: string,
273277
* MaxItems?: int,
274278
* CompatibleArchitecture?: Architecture::*,
279+
*
275280
* @region?: string,
276281
* }|ListLayerVersionsRequest $input
277282
*
@@ -305,6 +310,7 @@ public function listLayerVersions($input): ListLayerVersionsResponse
305310
* FunctionName: string,
306311
* Marker?: string,
307312
* MaxItems?: int,
313+
*
308314
* @region?: string,
309315
* }|ListVersionsByFunctionRequest $input
310316
*
@@ -341,6 +347,7 @@ public function listVersionsByFunction($input): ListVersionsByFunctionResponse
341347
* CompatibleRuntimes?: list<Runtime::*>,
342348
* LicenseInfo?: string,
343349
* CompatibleArchitectures?: list<Architecture::*>,
350+
*
344351
* @region?: string,
345352
* }|PublishLayerVersionRequest $input
346353
*

0 commit comments

Comments
 (0)