From cb3247a6c91f53f38cf243c04008371cca3b81b8 Mon Sep 17 00:00:00 2001 From: Andrii Date: Wed, 6 Aug 2025 14:21:54 +0200 Subject: [PATCH] :package: Resolve PHP 8.4 deprecation --- Controller/GraphQLiteController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controller/GraphQLiteController.php b/Controller/GraphQLiteController.php index 6988566..b359eef 100644 --- a/Controller/GraphQLiteController.php +++ b/Controller/GraphQLiteController.php @@ -48,7 +48,7 @@ class GraphQLiteController */ private $httpCodeDecider; - public function __construct(ServerConfig $serverConfig, HttpMessageFactoryInterface $httpMessageFactory = null, ?int $debug = null, ?HttpCodeDeciderInterface $httpCodeDecider = null) + public function __construct(ServerConfig $serverConfig, ?HttpMessageFactoryInterface $httpMessageFactory = null, ?int $debug = null, ?HttpCodeDeciderInterface $httpCodeDecider = null) { $this->serverConfig = $serverConfig; $this->httpMessageFactory = $httpMessageFactory ?: new PsrHttpFactory(new ServerRequestFactory(), new StreamFactory(), new UploadedFileFactory(), new ResponseFactory());