Skip to content

Commit

Permalink
Merge pull request cakephp#17385 from cakephp/fix-17382
Browse files Browse the repository at this point in the history
Fix usage of deprecated method in ReconnectStrategy
  • Loading branch information
dereuromark authored Oct 26, 2023
2 parents 97f721a + cfd9136 commit a8c0b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Retry/ReconnectStrategy.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function reconnect(): bool

try {
// Make sure we free any resources associated with the old connection
$this->connection->disconnect();
$this->connection->getDriver()->disconnect();
} catch (Exception $e) {
}

Expand Down

0 comments on commit a8c0b51

Please sign in to comment.