We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9edeeb commit dfee230Copy full SHA for dfee230
src/Console/Commands/DownloadDocsCommand.php
@@ -26,6 +26,7 @@ public function handle(
26
VersionManager $versionManager,
27
Factory $validator
28
): int {
29
+ /** @var array{docVersion: ?string} $flags */
30
$flags = [
31
'docVersion' => $this->option('docVersion'),
32
];
@@ -43,7 +44,7 @@ public function handle(
43
44
$this->line('🔧 Downloading documents...');
45
46
if ($flags['docVersion'] !== null) {
- $versionManager->setVersion((string) $flags['docVersion']);
47
+ $versionManager->setVersion($flags['docVersion']);
48
}
49
50
try {
0 commit comments