You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Function hasValidPrimaryReadReplicaConfig is a void function throwing only exceptions so if statement does not work.
if ($this->isPrimaryReadReplicaConfigured($driver)) {
if($this->hasValidPrimaryReadReplicaConfig($driver)) {
$connection_configuration = (new PrimaryReadReplicaConnection($this->config, $connection_configuration))->resolve($driver);
}
}
Proposal:
if ($this->isPrimaryReadReplicaConfigured($driver)) {
$this->hasValidPrimaryReadReplicaConfig($driver);
$connection_configuration = (new PrimaryReadReplicaConnection($this->config, $connection_configuration))->resolve($driver);
}
The text was updated successfully, but these errors were encountered:
Function hasValidPrimaryReadReplicaConfig is a void function throwing only exceptions so if statement does not work.
Proposal:
The text was updated successfully, but these errors were encountered: