Skip to content

Commit 559724c

Browse files
committed
Add php 8.1 build
1 parent fe95606 commit 559724c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/test-application.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ jobs:
3636
- php-version: "8.0"
3737
symfony-require: "6.0.*"
3838

39+
- php-version: "8.1"
40+
symfony-require: "6.0.*"
41+
3942
steps:
4043
- name: "Checkout project"
4144
uses: "actions/checkout@v2"

src/PagedRouteCollection.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,8 @@ public function rewind(): void
118118

119119
/**
120120
* Gets the number of Routes in this collection.
121-
*
122-
* @return int The number of routes
123121
*/
124-
public function count()
122+
public function count(): int
125123
{
126124
return $this->provider->getRoutesCount();
127125
}

0 commit comments

Comments
 (0)