Skip to content

Commit

Permalink
Merge pull request #282 from pierrealexaline/patch-1
Browse files Browse the repository at this point in the history
Update SQLiteConnector to avoid depreciation on string with PHP 8.2
  • Loading branch information
nticaric authored Apr 17, 2023
2 parents 161d336 + c226883 commit 201d679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Connectors/SQLiteConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function connect(array $config)
// as the developer probably wants to know if the database exists and this
// SQLite driver will not throw any exception if it does not by default.
if ($path === false) {
throw new Exception("Database (${config['database']}) does not exist.");
throw new Exception("Database ({$config['database']}) does not exist.");
}

return $this->createConnection("sqlite:{$path}", $config, $options);
Expand Down

0 comments on commit 201d679

Please sign in to comment.