Skip to content

Commit f1a26fc

Browse files
committed
Update NewCommand.php
remove temporary variable.
1 parent 71853c6 commit f1a26fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/NewCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
5252

5353
$output->writeln('<info>Crafting application...</info>');
5454

55-
$version = $this->getVersion($input);
56-
57-
$this->download($zipFile = $this->makeFilename(), $version)
55+
$this->download($zipFile = $this->makeFilename(), $this->getVersion($input))
5856
->extract($zipFile, $directory)
5957
->prepareWritableDirectories($directory, $output)
6058
->cleanUp($zipFile);

0 commit comments

Comments
 (0)