Skip to content

Commit

Permalink
Merge pull request #104 from tacman/php8.4
Browse files Browse the repository at this point in the history
fix nullable declaration for php 8.4
  • Loading branch information
robbieaverill authored Dec 9, 2024
2 parents 71f338f + 5ee2a2f commit c74bfd1
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 c74bfd1

Please sign in to comment.