Skip to content

Commit

Permalink
Merge pull request #862 from mrsuh/command_typo
Browse files Browse the repository at this point in the history
Typo in the CreateDatabaseDoctrineCommand InvalidArgumentException
  • Loading branch information
kimhemsoe committed Oct 16, 2018
2 parents a03386c + a9a28c0 commit 34926a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Command/CreateDatabaseDoctrineCommand.php
Expand Up @@ -75,7 +75,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$hasPath = isset($params['path']);
$name = $hasPath ? $params['path'] : (isset($params['dbname']) ? $params['dbname'] : false);
if (! $name) {
throw new \InvalidArgumentException("Connection does not contain a 'path' or 'dbname' parameter and cannot be dropped.");
throw new \InvalidArgumentException("Connection does not contain a 'path' or 'dbname' parameter and cannot be created.");
}
// Need to get rid of _every_ occurrence of dbname from connection configuration and we have already extracted all relevant info from url
unset($params['dbname'], $params['path'], $params['url']);
Expand Down

0 comments on commit 34926a4

Please sign in to comment.