@@ -98,9 +98,9 @@ |
||
| 98 | 98 | */ |
| 99 | 99 | public function getClient(string $name, string $databaseName = null): Client |
| 100 | 100 | { |
| 101 | - $clientKey = null !== $databaseName ? $name . '.' . $databaseName : $name; |
|
| 101 | + $clientKey = null !== $databaseName ? $name.'.'.$databaseName : $name; |
|
| 102 | 102 | |
| 103 | - if (! isset($this->clients[$clientKey])) { |
|
| 103 | + if (!isset($this->clients[$clientKey])) { |
|
| 104 | 104 | $conf = $this->configurations[$name]; |
| 105 | 105 | $options = array_merge( |
| 106 | 106 | [ |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ->defaultValue(null) |
| 38 | 38 | ->validate() |
| 39 | 39 | ->ifNotInArray($readPreferenceValidOptions) |
| 40 | - ->thenInvalid('Invalid readPreference option %s, must be one of [' . implode(", ", $readPreferenceValidOptions) . ']') |
|
| 40 | + ->thenInvalid('Invalid readPreference option %s, must be one of ['.implode(", ", $readPreferenceValidOptions).']') |
|
| 41 | 41 | ->end() |
| 42 | 42 | ->end() |
| 43 | 43 | ->scalarNode('replicaSet')->defaultValue(null)->end() |