Skip to content

Commit 7b47af4

Browse files
committed
cleanup make docker
1 parent 51549b6 commit 7b47af4

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/Maker/MakeDockerDatabase.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@
3030
*/
3131
final class MakeDockerDatabase extends AbstractMaker
3232
{
33-
private $composeFilePath;
34-
33+
private string $composeFilePath;
3534
private ?ComposeFileManipulator $composeFileManipulator = null;
3635

3736
/**
38-
* @var string type of database selected by the user
37+
* @var ?string type of database selected by the user
3938
*/
4039
private ?string $databaseChoice = null;
4140

@@ -72,7 +71,6 @@ public function configureCommand(Command $command, InputConfiguration $inputConf
7271

7372
public function interact(InputInterface $input, ConsoleStyle $io, Command $command): void
7473
{
75-
$serviceNameMsg = [];
7674
$io->section('- Docker Compose Setup-');
7775

7876
$this->composeFileManipulator = new ComposeFileManipulator($this->getComposeFileContents($io));
@@ -112,7 +110,6 @@ public function interact(InputInterface $input, ConsoleStyle $io, Command $comma
112110

113111
public function generate(InputInterface $input, ConsoleStyle $io, Generator $generator): void
114112
{
115-
$closing = [];
116113
$io->newLine();
117114

118115
$service = DockerDatabaseServices::getDatabaseSkeleton($this->databaseChoice, $this->serviceVersion);

0 commit comments

Comments
 (0)