From e4436636b65fdc636dc1b79552a4bcc9ae73dabc Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 17 Dec 2024 19:56:08 +0530 Subject: [PATCH] Bump phpstan to v2 --- .github/workflows/test.yaml | 4 ++-- src/Api/Api.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 429983c..36bbaa0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ on: jobs: tests: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: fail-fast: false matrix: @@ -69,7 +69,7 @@ jobs: with: php-version: '8.3' extensions: gd, imagick - tools: vimeo/psalm:5, phpstan:1 + tools: vimeo/psalm:5, phpstan:2 - name: Composer install uses: ramsey/composer-install@v3 diff --git a/src/Api/Api.php b/src/Api/Api.php index d66a42e..2f2219f 100644 --- a/src/Api/Api.php +++ b/src/Api/Api.php @@ -58,7 +58,7 @@ public function getImageManager(): ImageManager /** * Set the manipulators. * - * @param ManipulatorInterface[] $manipulators Collection of manipulators. + * @param array $manipulators Collection of manipulators. */ public function setManipulators(array $manipulators): void {