Skip to content

Commit ce026fe

Browse files
authored
Merge pull request #12 from answear/fix-response-initialization-error
Fix response initialization error
2 parents 40050a9 + 1e46961 commit ce026fe

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
extensions: soap
3030

3131
- name: "Cache dependencies installed with composer"
32-
uses: "actions/cache@v2"
32+
uses: "actions/cache@v4"
3333
with:
3434
path: "~/.composer/cache"
3535
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
php-version: "${{ matrix.php-version }}"
2626

2727
- name: "Cache dependencies installed with composer"
28-
uses: "actions/cache@v2"
28+
uses: "actions/cache@v4"
2929
with:
3030
path: "~/.composer/cache"
3131
key: "php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"

src/Response/SearchCity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class SearchCity implements ResponseInterface
1111
/**
1212
* @var CityDTO[]
1313
*/
14-
public array $return;
14+
public array $return = [];
1515
}

src/Response/SearchDivisions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class SearchDivisions implements ResponseInterface
1111
/**
1212
* @var DivisionDTO[]|array
1313
*/
14-
public array $return;
14+
public array $return = [];
1515
}

src/Response/SearchStreetByNameAndCityIdRef.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ class SearchStreetByNameAndCityIdRef implements ResponseInterface
1111
/**
1212
* @var StreetDTO[]
1313
*/
14-
public array $return;
14+
public array $return = [];
1515
}

0 commit comments

Comments
 (0)