Skip to content

Commit ff41b87

Browse files
OskarStarknicolas-grekas
authored andcommitted
Fix deprecation
``` Deprecation Notice: Symfony\Thanks\GitHubClient::getRepositories(): Implicitly marking parameter $failures as nullable is deprecated, the explicit nullable type must be used instead in /Users/oskar.stark/.composer/vendor/symfony/thanks/src/GitHubClient.php:109 ``` I don't think we want to allow `null` here @nicolas-grekas
1 parent 9919b05 commit ff41b87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHubClient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function __construct(Composer $composer, IOInterface $io)
106106
}
107107
}
108108

109-
public function getRepositories(?array &$failures = null, $withFundingLinks = false): array
109+
public function getRepositories(?array &$failures = null, bool $withFundingLinks = false): array
110110
{
111111
$repo = $this->composer->getRepositoryManager()->getLocalRepository();
112112

0 commit comments

Comments
 (0)