Skip to content

Commit dfee230

Browse files
committed
chore: wip
1 parent a9edeeb commit dfee230

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Console/Commands/DownloadDocsCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public function handle(
2626
VersionManager $versionManager,
2727
Factory $validator
2828
): int {
29+
/** @var array{docVersion: ?string} $flags */
2930
$flags = [
3031
'docVersion' => $this->option('docVersion'),
3132
];
@@ -43,7 +44,7 @@ public function handle(
4344
$this->line('🔧 Downloading documents...');
4445

4546
if ($flags['docVersion'] !== null) {
46-
$versionManager->setVersion((string) $flags['docVersion']);
47+
$versionManager->setVersion($flags['docVersion']);
4748
}
4849

4950
try {

0 commit comments

Comments
 (0)