Completed
Pull Request — master (#63)
by .
05:38
created
src/Services/ClientRegistry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,9 +98,9 @@
 block discarded – undo
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
                 [
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.