Update dependencies

This commit is contained in:
Chris Hunt
2024-02-16 21:36:54 +00:00
parent 22d7a59e59
commit d52ae0d3c3
9569 changed files with 460443 additions and 282416 deletions

View File

@@ -31,9 +31,9 @@ class_exists(ResponseHeaderBag::class);
*/
final class HttpClientKernel implements HttpKernelInterface
{
private $client;
private HttpClientInterface $client;
public function __construct(HttpClientInterface $client = null)
public function __construct(?HttpClientInterface $client = null)
{
if (null === $client && !class_exists(HttpClient::class)) {
throw new \LogicException(sprintf('You cannot use "%s" as the HttpClient component is not installed. Try running "composer require symfony/http-client".', __CLASS__));