File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class ClientFactory {
16
16
/**
17
17
* The 'dynamodb' client settings.
18
18
*
19
- * @var string[]
19
+ * @var array
20
20
* Array of site settings.
21
21
*/
22
22
protected array $ settings ;
@@ -31,10 +31,10 @@ class ClientFactory {
31
31
/**
32
32
* The DynamoDB client.
33
33
*
34
- * @var \Aws\DynamoDb\DynamoDbClient
34
+ * @var \Aws\DynamoDb\DynamoDbClient[]
35
35
* The DynamoDb client instance.
36
36
*/
37
- protected DynamoDbClient $ client ;
37
+ protected array $ client ;
38
38
39
39
/**
40
40
* Constructor.
@@ -63,9 +63,9 @@ public function connect(): ?DynamoDbClient {
63
63
$ settings = $ this ->settings [$ this ->alias ];
64
64
65
65
$ connection_info = [
66
- 'endpoint ' => $ settings ['endpoint ' ],
67
- 'region ' => $ settings ['region ' ],
68
- 'version ' => $ settings ['version ' ] ?? 'latest ' ,
66
+ 'endpoint ' => $ settings ['endpoint ' ],
67
+ 'region ' => $ settings ['region ' ],
68
+ 'version ' => $ settings ['version ' ] ?? 'latest ' ,
69
69
];
70
70
71
71
if (isset ($ settings ['aws_access_key ' ], $ settings ['aws_secret_key ' ])) {
Original file line number Diff line number Diff line change @@ -28,18 +28,18 @@ final class DynamoDb {
28
28
*
29
29
* It is keyed by database name and target.
30
30
*
31
- * @var [] \Drupal\dynamodb_client\Connection
31
+ * @var \Drupal\dynamodb_client\Connection[]
32
32
*/
33
- protected static $ connections = [];
33
+ protected static array $ connections = [];
34
34
35
35
/**
36
36
* A nested array of all active connections.
37
37
*
38
38
* It is keyed by database name and target.
39
39
*
40
- * @var [] \Aws\DynamoDb\DynamoDbClient
40
+ * @var \Aws\DynamoDb\DynamoDbClient[]
41
41
*/
42
- protected static $ rawConnections = [];
42
+ protected static array $ rawConnections = [];
43
43
44
44
/**
45
45
* Drupal wrapper with only specifics method available for DynamoDB.
You can’t perform that action at this time.
0 commit comments