Skip to content

Commit a1a170e

Browse files
Merge pull request #15 from MacPaw/fix/fix-recursive-call
fix: fix recursive call
2 parents 1ab86aa + 9c93ea5 commit a1a170e

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)