diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 5074ba1..8a8f65f 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -12,7 +12,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3] + php: [7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4] steps: - name: Checkout diff --git a/src/IpAddress.php b/src/IpAddress.php index 777bf50..4216a08 100644 --- a/src/IpAddress.php +++ b/src/IpAddress.php @@ -73,7 +73,7 @@ class IpAddress implements MiddlewareInterface */ public function __construct( $checkProxyHeaders = false, - array $trustedProxies = null, + ?array $trustedProxies = null, $attributeName = null, array $headersToInspect = [] ) {