From f7e5e5ae8f479e998de38d62504963b9c9d987b0 Mon Sep 17 00:00:00 2001 From: Alexey Sukhikh Date: Tue, 11 Jul 2023 13:37:00 +0300 Subject: [PATCH 1/5] Fix return type for find by country --- src/AdministrativeAreaRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AdministrativeAreaRepository.php b/src/AdministrativeAreaRepository.php index 712c64d..b4ee20e 100644 --- a/src/AdministrativeAreaRepository.php +++ b/src/AdministrativeAreaRepository.php @@ -181,7 +181,7 @@ public function hasWithNameAndCountry(string $name, Country $country): bool /** * Retrieve a list of areas for a country code. * - * @return Country[] + * @return AdministrativeArea[] */ public function findByCountry(Country $country): array { From 2de7f419b21ff5252459bb5a3ab94f23b43468fd Mon Sep 17 00:00:00 2001 From: Alexey Sukhikh Date: Tue, 11 Jul 2023 13:53:31 +0300 Subject: [PATCH 2/5] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f55ba0e..9b5ebd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,12 @@ Fixed - for any bug fixes. Security - in case of vulnerabilities. --> +## 1.1.3 (2023-07-11) + +### Fixed + +- Fixed phpdoc return type of `findByCountry` of `AdministrativeAreaRepository` + ## 1.1.2 (2023-03-07) ### Added From 05ff8ced01ae7c320429e562876e296862e076e7 Mon Sep 17 00:00:00 2001 From: Alexey Sukhikh Date: Tue, 11 Jul 2023 14:00:31 +0300 Subject: [PATCH 3/5] Update coverage-monitor-action version --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 3d71015..5049b34 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -48,7 +48,7 @@ jobs: - name: Coverage monitor if: env.EXECUTE_COVERAGE == 'true' - uses: slavcodev/coverage-monitor-action@1.1.0 + uses: slavcodev/coverage-monitor-action@1.8.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} clover_file: ${{ env.CLOVER_PATH }} From 092aa2cb4370eefbae50daf81a622e1b16b21365 Mon Sep 17 00:00:00 2001 From: Alexey Sukhikh Date: Tue, 11 Jul 2023 14:26:29 +0300 Subject: [PATCH 4/5] Update .github/workflows/workflow.yml Co-authored-by: Slava Medvedev --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 5049b34..5f8616a 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -48,7 +48,7 @@ jobs: - name: Coverage monitor if: env.EXECUTE_COVERAGE == 'true' - uses: slavcodev/coverage-monitor-action@1.8.0 + uses: slavcodev/coverage-monitor-action@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} clover_file: ${{ env.CLOVER_PATH }} From 59d4b7e3e3c765ddfb022e266fdda7865eb6e7de Mon Sep 17 00:00:00 2001 From: Alexey Sukhikh Date: Tue, 11 Jul 2023 15:53:04 +0300 Subject: [PATCH 5/5] Update CHANGELOG.md Co-authored-by: Alexander Shkarpetin --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b5ebd0..52be153 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ Security - in case of vulnerabilities. ### Fixed -- Fixed phpdoc return type of `findByCountry` of `AdministrativeAreaRepository` +- Fixed PHPDoc return type of `AdministrativeAreaRepository::findByCountry` method ## 1.1.2 (2023-03-07)