We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7eb351 commit 5c3c2f8Copy full SHA for 5c3c2f8
1 file changed
src/DatabaseManager.php
@@ -269,11 +269,11 @@ protected function initialiseParams(): void
269
if ($driver === 'sqlite') {
270
if ($database === ':memory:') {
271
// Everything is good
272
- } elseif (empty($host) || empty($user) || empty($database)) {
+ } elseif (empty($host) || empty($user)) {
273
throw new MissingDatabaseCredentials();
274
}
275
} else {
276
- if (empty($host) || empty($user) || empty($database)) {
+ if (empty($host) || empty($user)) {
277
278
279
0 commit comments