Skip to content

Commit

Permalink
fix PHPStan issue detected with DefaultStrategy
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Aug 4, 2024
1 parent 42e8c93 commit 361d9d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer/DefaultStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function build(ManifestOptions $options): ?string

return match ($format) {
ManifestFormat::auto => match ($output) {
null, ManifestFormat::ansi => $factory->toHighlight(),
null => $factory->toHighlight(),
ManifestFile::consoleTable => $factory->toConsole(),
ManifestFile::txt => $factory->toText(),
ManifestFile::sbomXml => $factory->toSbom('xml', $sbomSpec),
Expand Down

0 comments on commit 361d9d4

Please sign in to comment.