Skip to content

Commit 89ce8df

Browse files
authored
Merge pull request #48 from akrabat/php8.4
Support PHP 8.4
2 parents 651996c + 0fd59e6 commit 89ce8df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/unit-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest]
15-
php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3]
15+
php: [8.0, 8.1, 8.2, 8.3, 8.4]
1616

1717
steps:
1818
- name: Checkout

src/IpAddress.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class IpAddress implements MiddlewareInterface
7373
*/
7474
public function __construct(
7575
$checkProxyHeaders = false,
76-
array $trustedProxies = null,
76+
?array $trustedProxies = null,
7777
$attributeName = null,
7878
array $headersToInspect = []
7979
) {

0 commit comments

Comments
 (0)