Since $connectionsPool is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $connectionsPool to at least protected.
Loading history...
14
}
15
16
public static function setConnectionsPool(string $key, ConnectionInterface $config): void
Since $connectionsPool is declared private, accessing it with static will lead to errors in possible sub-classes; you can either use self, or increase the visibility of $connectionsPool to at least protected.