Completed
Push — develop ( 98cf36...23cbe0 )
by Tom
03:38
created
src/N98/Magento/Command/Installer/SubCommand/CreateDatabase.php 1 patch
Spacing   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
 
62 62
                 // Host
63 63
                 $dbHostDefault = $this->input->getOption('dbHost') ?
64
-                    $this->input->getOption('dbHost') :
65
-                    $this->commandConfig['installation']['db']['host'];
64
+                    $this->input->getOption('dbHost') : $this->commandConfig['installation']['db']['host'];
66 65
                 $this->config->setString(
67 66
                     'db_host',
68 67
                     $dialog->askAndValidate(
@@ -77,8 +76,7 @@  discard block
 block discarded – undo
77 76
 
78 77
                 // Port
79 78
                 $dbPortDefault = $this->input->getOption('dbPort') ?
80
-                    $this->input->getOption('dbPort') :
81
-                    $this->commandConfig['installation']['db']['port'];
79
+                    $this->input->getOption('dbPort') : $this->commandConfig['installation']['db']['port'];
82 80
                 $this->config->setInt(
83 81
                     'db_port',
84 82
                     intval($dialog->askAndValidate(
@@ -93,8 +91,7 @@  discard block
 block discarded – undo
93 91
 
94 92
                 // User
95 93
                 $dbUserDefault = $this->input->getOption('dbUser') ?
96
-                    $this->input->getOption('dbUser') :
97
-                    $this->commandConfig['installation']['db']['user'];
94
+                    $this->input->getOption('dbUser') : $this->commandConfig['installation']['db']['user'];
98 95
                 $this->config->setString(
99 96
                     'db_user',
100 97
                     $dialog->askAndValidate(
@@ -109,8 +106,7 @@  discard block
 block discarded – undo
109 106
 
110 107
                 // Password
111 108
                 $dbPassDefault = $this->input->getOption('dbPass') ?
112
-                    $this->input->getOption('dbPass') :
113
-                    $this->commandConfig['installation']['db']['pass'];
109
+                    $this->input->getOption('dbPass') : $this->commandConfig['installation']['db']['pass'];
114 110
                 $this->config->setString(
115 111
                     'db_pass',
116 112
                     $dialog->ask(
@@ -123,8 +119,7 @@  discard block
 block discarded – undo
123 119
 
124 120
                 // DB-Name
125 121
                 $dbNameDefault = $this->input->getOption('dbName') ?
126
-                    $this->input->getOption('dbName') :
127
-                    $this->commandConfig['installation']['db']['name'];
122
+                    $this->input->getOption('dbName') : $this->commandConfig['installation']['db']['name'];
128 123
                 $this->config->setString(
129 124
                     'db_name',
130 125
                     $dialog->askAndValidate(
Please login to merge, or discard this patch.