Skip to content

Commit 0c29a60

Browse files
Fix deprecations on PHP 8.3
1 parent f66be27 commit 0c29a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/RequestTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1882,7 +1882,7 @@ private function disableHttpMethodParameterOverride()
18821882
$class = new \ReflectionClass(Request::class);
18831883
$property = $class->getProperty('httpMethodParameterOverride');
18841884
$property->setAccessible(true);
1885-
$property->setValue(false);
1885+
$property->setValue(null, false);
18861886
}
18871887

18881888
private function getRequestInstanceForClientIpTests(string $remoteAddr, ?string $httpForwardedFor, ?array $trustedProxies): Request

0 commit comments

Comments
 (0)