Skip to content

Commit e42b738

Browse files
authored
Do not initialize array property (#1082)
1 parent 2765079 commit e42b738

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Result/ListFunctionsResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ListFunctionsResponse extends Result implements \IteratorAggregate
3434
/**
3535
* A list of Lambda functions.
3636
*/
37-
private $functions = [];
37+
private $functions;
3838

3939
/**
4040
* @param bool $currentPageOnly When true, iterates over items of the current page. Otherwise also fetch items in the next pages.

src/Result/ListLayerVersionsResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ListLayerVersionsResponse extends Result implements \IteratorAggregate
2323
/**
2424
* A list of versions.
2525
*/
26-
private $layerVersions = [];
26+
private $layerVersions;
2727

2828
/**
2929
* Iterates over LayerVersions.

src/Result/ListVersionsByFunctionResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ListVersionsByFunctionResponse extends Result implements \IteratorAggregat
3232
/**
3333
* A list of Lambda function versions.
3434
*/
35-
private $versions = [];
35+
private $versions;
3636

3737
/**
3838
* Iterates over Versions.

src/Result/PublishLayerVersionResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class PublishLayerVersionResponse extends Result
4444
/**
4545
* The layer's compatible runtimes.
4646
*/
47-
private $compatibleRuntimes = [];
47+
private $compatibleRuntimes;
4848

4949
/**
5050
* The layer's software license.

0 commit comments

Comments
 (0)