Skip to content

Commit

Permalink
Update Database.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Idrinth authored Jul 21, 2023
1 parent 637cc0d commit 9b445ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private function get(): PDO
{
if (null === $this->database) {
$this->database = new PDO(
"mysql:host={$this->databaseHost};dbname={$this->databaseName}",
"mysql:host={$this->databaseHost};dbname={$this->databaseDatabase}",
$this->databaseUser,
$this->databasePassword,
[PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]
Expand Down

0 comments on commit 9b445ee

Please sign in to comment.