1
0
Fork 0

Fix docblock

pull/8777/head^2
Jordi Boggiano 2020-04-23 11:01:44 +02:00
parent 9b8694bc0b
commit cdc6a87e8d
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 6 additions and 6 deletions

View File

@ -99,8 +99,8 @@ class SuggestedPackagesReporter
* Do not list the ones already installed if installed repository provided. * Do not list the ones already installed if installed repository provided.
* *
* @param int $mode One of the MODE_* constants from this class * @param int $mode One of the MODE_* constants from this class
* @param InstalledRepository $installedRepo If passed in, suggested packages which are installed already will be skipped * @param InstalledRepository|null $installedRepo If passed in, suggested packages which are installed already will be skipped
* @param PackageInterface $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown * @param PackageInterface|null $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown
* @return SuggestedPackagesReporter * @return SuggestedPackagesReporter
*/ */
public function output($mode, InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null) public function output($mode, InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null)
@ -167,8 +167,8 @@ class SuggestedPackagesReporter
/** /**
* Output number of new suggested packages and a hint to use suggest command. * Output number of new suggested packages and a hint to use suggest command.
* *
* @param InstalledRepository $installedRepo If passed in, suggested packages which are installed already will be skipped * @param InstalledRepository|null $installedRepo If passed in, suggested packages which are installed already will be skipped
* @param PackageInterface $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown * @param PackageInterface|null $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown
* @return SuggestedPackagesReporter * @return SuggestedPackagesReporter
*/ */
public function outputMinimalistic(InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null) public function outputMinimalistic(InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null)
@ -182,8 +182,8 @@ class SuggestedPackagesReporter
} }
/** /**
* @param InstalledRepository $installedRepo If passed in, suggested packages which are installed already will be skipped * @param InstalledRepository|null $installedRepo If passed in, suggested packages which are installed already will be skipped
* @param PackageInterface $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown * @param PackageInterface|null $onlyDependentsOf If passed in, only the suggestions from direct dependents of that package, or from the package itself, will be shown
* @return array[] * @return array[]
*/ */
private function getFilteredSuggestions(InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null) private function getFilteredSuggestions(InstalledRepository $installedRepo = null, PackageInterface $onlyDependentsOf = null)