diff --git a/.github/workflows/test-application.yaml b/.github/workflows/test-application.yaml index 979b9d5..eabcf12 100644 --- a/.github/workflows/test-application.yaml +++ b/.github/workflows/test-application.yaml @@ -36,6 +36,9 @@ jobs: - php-version: "8.0" symfony-require: "6.0.*" + - php-version: "8.1" + symfony-require: "6.0.*" + steps: - name: "Checkout project" uses: "actions/checkout@v2" diff --git a/src/PagedRouteCollection.php b/src/PagedRouteCollection.php index 02bf30a..02ab8df 100644 --- a/src/PagedRouteCollection.php +++ b/src/PagedRouteCollection.php @@ -118,10 +118,8 @@ public function rewind(): void /** * Gets the number of Routes in this collection. - * - * @return int The number of routes */ - public function count() + public function count(): int { return $this->provider->getRoutesCount(); }