mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-18 20:57:53 +09:00
Update dependencies
This commit is contained in:
@@ -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__));
|
||||
|
||||
Reference in New Issue
Block a user