Skip to content

Commit 9c93ea5

Browse files
fix: fix recursive call
- getDatabasePlatform - detectDatabasePlatform - ... - connect
1 parent 1ab86aa commit 9c93ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/SchemaConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public function connect(): bool
3636
if ($this->currentSchema === $schema) {
3737
return $connection;
3838
}
39+
$this->currentSchema = $schema;
3940

4041
$this->ensurePostgreSql();
4142
$this->applySearchPath($schema);
42-
$this->currentSchema = $schema;
4343

4444
return $connection;
4545
}

0 commit comments

Comments
 (0)