We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 71f338f + 5ee2a2f commit c74bfd1Copy full SHA for c74bfd1
src/Packagist/Api/Client.php
@@ -31,8 +31,8 @@ class Client
31
* @param string $packagistUrl Packagist URL
32
*/
33
public function __construct(
34
- ClientInterface $httpClient = null,
35
- Factory $resultFactory = null,
+ ?ClientInterface $httpClient = null,
+ ?Factory $resultFactory = null,
36
string $packagistUrl = 'https://packagist.org'
37
) {
38
if (null === $httpClient) {
0 commit comments