Open
Description
I'm fixing the signatures so that PHP 8.4 doesn't throw warnings about implicit nullables.
/**
* @param string $key Google API key
*/
public function __construct($key, ?HttpClient $httpClient = null, RequestFactory $requestFactory = null)
Of course, I'd love to put ?string in front of $key, but I can't remember when that was allowed. It's the main reason I want to drop old versions of PHP.
Static analysis is complaining about HttpClient though. Can it be replaced with ClientInterface? Or just keep this until we get psr-3 working?
Metadata
Metadata
Assignees
Labels
No labels