From d7c071220507dfa6776120090da47b45a9892d94 Mon Sep 17 00:00:00 2001 From: Maxime Beaudoin Date: Fri, 2 Feb 2024 09:51:50 -0500 Subject: [PATCH] Fix config --- .github/workflows/static-analysis.yml | 4 ++-- .github/workflows/style-checker.yml | 2 +- src/AbstractResponse.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 243bdc7..cf97058 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -4,7 +4,7 @@ name: Static analysis jobs: phpstan: name: PHPStan - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code @@ -26,7 +26,7 @@ jobs: psalm: name: Psalm - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/style-checker.yml b/.github/workflows/style-checker.yml index 9c60110..9cf757b 100644 --- a/.github/workflows/style-checker.yml +++ b/.github/workflows/style-checker.yml @@ -14,7 +14,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: '8.1' - name: Cache Dependencies id: composer-cache-style diff --git a/src/AbstractResponse.php b/src/AbstractResponse.php index 715461d..967810f 100644 --- a/src/AbstractResponse.php +++ b/src/AbstractResponse.php @@ -56,7 +56,7 @@ public function __construct(Manager $manager) /** * @return Manager */ - public function getManager() : Manager + public function getManager(): Manager { return $this->manager; }