Skip to content

Commit

Permalink
Fixed code formating
Browse files Browse the repository at this point in the history
  • Loading branch information
waldemarnt committed Jul 1, 2015
1 parent 283590a commit 193ed70
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Console/Command/MigrationShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,21 +124,21 @@ public function startup() {
* Get connection names list
* @return Array
*/
protected function _connectionNamesEnum(){
protected function _connectionNamesEnum() {
return array_keys($this->ConnectionManager->enumConnectionObjects());
}

/**
* Check if have a migration connect parameter when connection is custom
* @return String
*/
protected function _startMigrationConnection(){
protected function _startMigrationConnection() {
if (!empty($this->params['connection']) && empty($this->params['migrationConnection'])) {
return $this->in(
"You did not set a migration connection (-i), which connection do you want to use?",
$this->_connectionNamesEnum(),
$this->params['connection']
);
"You did not set a migration connection (-i), which connection do you want to use?",
$this->_connectionNamesEnum(),
$this->params['connection']
);
}

if (!empty($this->params['migrationConnection'])) {
Expand Down

0 comments on commit 193ed70

Please sign in to comment.