Skip to content

Commit

Permalink
Require file argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Dec 17, 2024
1 parent 8a74364 commit 244e613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drush/Commands/PackageScannerDrushCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function create(DrushContainer $drush): self {
'version' => 'Current version',
'latest' => 'Latest version',
])]
public function checkVersions(?string $file = NULL, array $options = ['format' => 'table']) : CommandResult {
public function checkVersions(string $file, array $options = ['format' => 'table']) : CommandResult {
$rows = [];
foreach ($this->versionChecker->getOutdated($file) as $version) {
// Skip dev versions since we can't easily verify the latest version.
Expand Down

0 comments on commit 244e613

Please sign in to comment.