mirror of
https://github.com/predis/predis.git
synced 2026-08-30 12:15:03 +00:00
Remove default null value from Predis\Client::initializeConnection().
This commit is contained in:
@@ -37,7 +37,7 @@ class Client {
|
||||
throw new \InvalidArgumentException("Invalid type for client options");
|
||||
}
|
||||
|
||||
private function initializeConnection($parameters = null) {
|
||||
private function initializeConnection($parameters) {
|
||||
if ($parameters === null) {
|
||||
return $this->createConnection(new ConnectionParameters());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user