Skip to content

Commit

Permalink
DiagnoseCommand - fix PHPDoc (#9991)
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 7, 2021
1 parent 078aaa6 commit c65890d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions phpstan/baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ parameters:
count: 1
path: ../src/Composer/Command/BaseCommand.php

-
message: "#^Call to function is_array\\(\\) with string will always evaluate to false\\.$#"
count: 1
path: ../src/Composer/Command/DiagnoseCommand.php

-
message: "#^Result of && is always false\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Command/DiagnoseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ private function getCurlVersion()
}

/**
* @param bool|string|\Exception $result
* @param bool|string|string[]|\Exception $result
*/
private function outputResult($result)
{
Expand Down

0 comments on commit c65890d

Please sign in to comment.