Completed
Pull Request — master (#63)
by .
03:06
created
src/Services/ClientRegistry.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                 [
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
@@ -39,7 +39,7 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.