You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Input/BatchGetItemInput.php
+2-2
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ private function requestBody(): array
176
176
{
177
177
$payload = [];
178
178
if (null === $v = $this->requestItems) {
179
-
thrownewInvalidArgument(sprintf('Missing parameter "RequestItems" for "%s". The value cannot be null.', __CLASS__));
179
+
thrownewInvalidArgument(\sprintf('Missing parameter "RequestItems" for "%s". The value cannot be null.', __CLASS__));
180
180
}
181
181
182
182
if (empty($v)) {
@@ -189,7 +189,7 @@ private function requestBody(): array
189
189
}
190
190
if (null !== $v = $this->returnConsumedCapacity) {
191
191
if (!ReturnConsumedCapacity::exists($v)) {
192
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
192
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/BatchWriteItemInput.php
+3-3
Original file line number
Diff line number
Diff line change
@@ -176,7 +176,7 @@ private function requestBody(): array
176
176
{
177
177
$payload = [];
178
178
if (null === $v = $this->requestItems) {
179
-
thrownewInvalidArgument(sprintf('Missing parameter "RequestItems" for "%s". The value cannot be null.', __CLASS__));
179
+
thrownewInvalidArgument(\sprintf('Missing parameter "RequestItems" for "%s". The value cannot be null.', __CLASS__));
180
180
}
181
181
182
182
if (empty($v)) {
@@ -194,13 +194,13 @@ private function requestBody(): array
194
194
}
195
195
if (null !== $v = $this->returnConsumedCapacity) {
196
196
if (!ReturnConsumedCapacity::exists($v)) {
197
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
197
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
198
198
}
199
199
$payload['ReturnConsumedCapacity'] = $v;
200
200
}
201
201
if (null !== $v = $this->returnItemCollectionMetrics) {
202
202
if (!ReturnItemCollectionMetrics::exists($v)) {
203
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
203
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/DeleteItemInput.php
+7-7
Original file line number
Diff line number
Diff line change
@@ -472,11 +472,11 @@ private function requestBody(): array
472
472
{
473
473
$payload = [];
474
474
if (null === $v = $this->tableName) {
475
-
thrownewInvalidArgument(sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
475
+
thrownewInvalidArgument(\sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
476
476
}
477
477
$payload['TableName'] = $v;
478
478
if (null === $v = $this->key) {
479
-
thrownewInvalidArgument(sprintf('Missing parameter "Key" for "%s". The value cannot be null.', __CLASS__));
479
+
thrownewInvalidArgument(\sprintf('Missing parameter "Key" for "%s". The value cannot be null.', __CLASS__));
480
480
}
481
481
482
482
if (empty($v)) {
@@ -499,25 +499,25 @@ private function requestBody(): array
499
499
}
500
500
if (null !== $v = $this->conditionalOperator) {
501
501
if (!ConditionalOperator::exists($v)) {
502
-
thrownewInvalidArgument(sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
502
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
503
503
}
504
504
$payload['ConditionalOperator'] = $v;
505
505
}
506
506
if (null !== $v = $this->returnValues) {
507
507
if (!ReturnValue::exists($v)) {
508
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnValues" for "%s". The value "%s" is not a valid "ReturnValue".', __CLASS__, $v));
508
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnValues" for "%s". The value "%s" is not a valid "ReturnValue".', __CLASS__, $v));
509
509
}
510
510
$payload['ReturnValues'] = $v;
511
511
}
512
512
if (null !== $v = $this->returnConsumedCapacity) {
513
513
if (!ReturnConsumedCapacity::exists($v)) {
514
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
514
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
515
515
}
516
516
$payload['ReturnConsumedCapacity'] = $v;
517
517
}
518
518
if (null !== $v = $this->returnItemCollectionMetrics) {
519
519
if (!ReturnItemCollectionMetrics::exists($v)) {
520
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
520
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
521
521
}
522
522
$payload['ReturnItemCollectionMetrics'] = $v;
523
523
}
@@ -546,7 +546,7 @@ private function requestBody(): array
546
546
}
547
547
if (null !== $v = $this->returnValuesOnConditionCheckFailure) {
548
548
if (!ReturnValuesOnConditionCheckFailure::exists($v)) {
549
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
549
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/ExecuteStatementInput.php
+3-3
Original file line number
Diff line number
Diff line change
@@ -244,7 +244,7 @@ private function requestBody(): array
244
244
{
245
245
$payload = [];
246
246
if (null === $v = $this->statement) {
247
-
thrownewInvalidArgument(sprintf('Missing parameter "Statement" for "%s". The value cannot be null.', __CLASS__));
247
+
thrownewInvalidArgument(\sprintf('Missing parameter "Statement" for "%s". The value cannot be null.', __CLASS__));
248
248
}
249
249
$payload['Statement'] = $v;
250
250
if (null !== $v = $this->parameters) {
@@ -263,7 +263,7 @@ private function requestBody(): array
263
263
}
264
264
if (null !== $v = $this->returnConsumedCapacity) {
265
265
if (!ReturnConsumedCapacity::exists($v)) {
266
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
266
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
267
267
}
268
268
$payload['ReturnConsumedCapacity'] = $v;
269
269
}
@@ -272,7 +272,7 @@ private function requestBody(): array
272
272
}
273
273
if (null !== $v = $this->returnValuesOnConditionCheckFailure) {
274
274
if (!ReturnValuesOnConditionCheckFailure::exists($v)) {
275
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
275
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/GetItemInput.php
+3-3
Original file line number
Diff line number
Diff line change
@@ -296,11 +296,11 @@ private function requestBody(): array
296
296
{
297
297
$payload = [];
298
298
if (null === $v = $this->tableName) {
299
-
thrownewInvalidArgument(sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
299
+
thrownewInvalidArgument(\sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
300
300
}
301
301
$payload['TableName'] = $v;
302
302
if (null === $v = $this->key) {
303
-
thrownewInvalidArgument(sprintf('Missing parameter "Key" for "%s". The value cannot be null.', __CLASS__));
303
+
thrownewInvalidArgument(\sprintf('Missing parameter "Key" for "%s". The value cannot be null.', __CLASS__));
304
304
}
305
305
306
306
if (empty($v)) {
@@ -324,7 +324,7 @@ private function requestBody(): array
324
324
}
325
325
if (null !== $v = $this->returnConsumedCapacity) {
326
326
if (!ReturnConsumedCapacity::exists($v)) {
327
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
327
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/PutItemInput.php
+7-7
Original file line number
Diff line number
Diff line change
@@ -487,11 +487,11 @@ private function requestBody(): array
487
487
{
488
488
$payload = [];
489
489
if (null === $v = $this->tableName) {
490
-
thrownewInvalidArgument(sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
490
+
thrownewInvalidArgument(\sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
491
491
}
492
492
$payload['TableName'] = $v;
493
493
if (null === $v = $this->item) {
494
-
thrownewInvalidArgument(sprintf('Missing parameter "Item" for "%s". The value cannot be null.', __CLASS__));
494
+
thrownewInvalidArgument(\sprintf('Missing parameter "Item" for "%s". The value cannot be null.', __CLASS__));
495
495
}
496
496
497
497
if (empty($v)) {
@@ -514,25 +514,25 @@ private function requestBody(): array
514
514
}
515
515
if (null !== $v = $this->returnValues) {
516
516
if (!ReturnValue::exists($v)) {
517
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnValues" for "%s". The value "%s" is not a valid "ReturnValue".', __CLASS__, $v));
517
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnValues" for "%s". The value "%s" is not a valid "ReturnValue".', __CLASS__, $v));
518
518
}
519
519
$payload['ReturnValues'] = $v;
520
520
}
521
521
if (null !== $v = $this->returnConsumedCapacity) {
522
522
if (!ReturnConsumedCapacity::exists($v)) {
523
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
523
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
524
524
}
525
525
$payload['ReturnConsumedCapacity'] = $v;
526
526
}
527
527
if (null !== $v = $this->returnItemCollectionMetrics) {
528
528
if (!ReturnItemCollectionMetrics::exists($v)) {
529
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
529
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnItemCollectionMetrics" for "%s". The value "%s" is not a valid "ReturnItemCollectionMetrics".', __CLASS__, $v));
530
530
}
531
531
$payload['ReturnItemCollectionMetrics'] = $v;
532
532
}
533
533
if (null !== $v = $this->conditionalOperator) {
534
534
if (!ConditionalOperator::exists($v)) {
535
-
thrownewInvalidArgument(sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
535
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
536
536
}
537
537
$payload['ConditionalOperator'] = $v;
538
538
}
@@ -561,7 +561,7 @@ private function requestBody(): array
561
561
}
562
562
if (null !== $v = $this->returnValuesOnConditionCheckFailure) {
563
563
if (!ReturnValuesOnConditionCheckFailure::exists($v)) {
564
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
564
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnValuesOnConditionCheckFailure" for "%s". The value "%s" is not a valid "ReturnValuesOnConditionCheckFailure".', __CLASS__, $v));
Copy file name to clipboardExpand all lines: src/Input/QueryInput.php
+4-4
Original file line number
Diff line number
Diff line change
@@ -703,15 +703,15 @@ private function requestBody(): array
703
703
{
704
704
$payload = [];
705
705
if (null === $v = $this->tableName) {
706
-
thrownewInvalidArgument(sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
706
+
thrownewInvalidArgument(\sprintf('Missing parameter "TableName" for "%s". The value cannot be null.', __CLASS__));
707
707
}
708
708
$payload['TableName'] = $v;
709
709
if (null !== $v = $this->indexName) {
710
710
$payload['IndexName'] = $v;
711
711
}
712
712
if (null !== $v = $this->select) {
713
713
if (!Select::exists($v)) {
714
-
thrownewInvalidArgument(sprintf('Invalid parameter "Select" for "%s". The value "%s" is not a valid "Select".', __CLASS__, $v));
714
+
thrownewInvalidArgument(\sprintf('Invalid parameter "Select" for "%s". The value "%s" is not a valid "Select".', __CLASS__, $v));
715
715
}
716
716
$payload['Select'] = $v;
717
717
}
@@ -751,7 +751,7 @@ private function requestBody(): array
751
751
}
752
752
if (null !== $v = $this->conditionalOperator) {
753
753
if (!ConditionalOperator::exists($v)) {
754
-
thrownewInvalidArgument(sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
754
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ConditionalOperator" for "%s". The value "%s" is not a valid "ConditionalOperator".', __CLASS__, $v));
755
755
}
756
756
$payload['ConditionalOperator'] = $v;
757
757
}
@@ -770,7 +770,7 @@ private function requestBody(): array
770
770
}
771
771
if (null !== $v = $this->returnConsumedCapacity) {
772
772
if (!ReturnConsumedCapacity::exists($v)) {
773
-
thrownewInvalidArgument(sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
773
+
thrownewInvalidArgument(\sprintf('Invalid parameter "ReturnConsumedCapacity" for "%s". The value "%s" is not a valid "ReturnConsumedCapacity".', __CLASS__, $v));
0 commit comments