Completed
Pull Request — master (#64)
by .
03:20
created
src/Command/AbstractCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
40 40
         $connectionName = 'mongo.connection';
41 41
 
42 42
         if ($input->getOption('connection')) {
43
-            $connectionName .= '.' . $input->getOption('connection');
43
+            $connectionName .= '.'.$input->getOption('connection');
44 44
         }
45 45
 
46
-        if (! $this->getContainer()->has($connectionName)) {
46
+        if (!$this->getContainer()->has($connectionName)) {
47 47
             throw new \LogicException(sprintf('No connection named \'%s\' found', $input->getOption('connection')));
48 48
         }
49 49
 
Please login to merge, or discard this patch.
src/Command/DropDatabaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         parent::configure();
19 19
         $this
20 20
             ->setName('mongodb:database:drop')
21
-            ->setDescription('Drops a database');;
21
+            ->setDescription('Drops a database'); ;
22 22
     }
23 23
 
24 24
     /**
Please login to merge, or discard this patch.
src/Services/ClientRegistry.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         return 'mongodb://'.implode(
98 98
             ',',
99 99
             array_map(
100
-                function (array $host) {
100
+                function(array $host) {
101 101
                     return sprintf('%s:%d', $host['host'], $host['port']);
102 102
                 },
103 103
                 $hosts
Please login to merge, or discard this patch.
src/Models/ClientConfiguration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
     {
105 105
         return array_filter(
106 106
             $options,
107
-            function ($value) {
107
+            function($value) {
108 108
                 return !empty($value) || \is_int($value) || \is_bool($value) || \is_float($value);
109 109
             }
110 110
         );
Please login to merge, or discard this patch.