Skip to content

Commit

Permalink
fix nullable declaration for php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
tacman committed Dec 9, 2024
1 parent 71f338f commit ecdd2cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Packagist/Api/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class Client
* @param string $packagistUrl Packagist URL
*/
public function __construct(
ClientInterface $httpClient = null,
Factory $resultFactory = null,
?ClientInterface $httpClient = null,
?Factory $resultFactory = null,
string $packagistUrl = 'https://packagist.org'
) {
if (null === $httpClient) {
Expand Down

0 comments on commit ecdd2cc

Please sign in to comment.