Skip to content

Commit

Permalink
Fix php artisan db command for the Postgres CLI (#35725)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rihards Ščeredins committed Dec 28, 2020
1 parent aae5c4a commit 7f42f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Console/DbCommand.php
Expand Up @@ -83,7 +83,7 @@ public function commandEnvironment(array $connection)
{
$driver = ucfirst($connection['driver']);

if (method_exists($this, "get{$driver}Env")) {
if (method_exists($this, "get{$driver}Environment")) {
return $this->{"get{$driver}Environment"}($connection);
}

Expand Down

0 comments on commit 7f42f67

Please sign in to comment.