@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | private function buildClientConfiguration(array $conf): ClientConfiguration |
67 | 67 | { |
68 | - if (!array_key_exists('options', $conf)) { |
|
68 | + if (!array_key_exists('options', $conf)) { |
|
69 | 69 | $conf['options'] = []; |
70 | 70 | } |
71 | 71 | |
@@ -102,9 +102,9 @@ discard block |
||
102 | 102 | */ |
103 | 103 | public function getClient(string $name, string $databaseName = null): Client |
104 | 104 | { |
105 | - $clientKey = null !== $databaseName ? $name . '.' . $databaseName : $name; |
|
105 | + $clientKey = null !== $databaseName ? $name.'.'.$databaseName : $name; |
|
106 | 106 | |
107 | - if (! isset($this->clients[$clientKey])) { |
|
107 | + if (!isset($this->clients[$clientKey])) { |
|
108 | 108 | $conf = $this->configurations[$name]; |
109 | 109 | $options = array_merge( |
110 | 110 | [ |
@@ -39,7 +39,7 @@ |
||
39 | 39 | ->defaultValue(null) |
40 | 40 | ->validate() |
41 | 41 | ->ifNotInArray($readPreferenceValidOptions) |
42 | - ->thenInvalid('Invalid readPreference option %s, must be one of [' . implode(", ", $readPreferenceValidOptions) . ']') |
|
42 | + ->thenInvalid('Invalid readPreference option %s, must be one of ['.implode(", ", $readPreferenceValidOptions).']') |
|
43 | 43 | ->end() |
44 | 44 | ->end() |
45 | 45 | ->end() |