Completed
Pull Request — master (#5)
by Alessandro
02:27
created
src/FacileMongoDbBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
Please login to merge, or discard this patch.
src/Capsule/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
Please login to merge, or discard this patch.
src/Capsule/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
Please login to merge, or discard this patch.
src/Capsule/Collection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
Please login to merge, or discard this patch.
src/Services/ConnectionFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function createConnection(string $clientName, string $databaseName): Database
36 36
     {
37 37
         return $this->clientRegistry
38
-            ->getClientForDatabase($clientName,$databaseName)
38
+            ->getClientForDatabase($clientName, $databaseName)
39 39
             ->selectDatabase($databaseName);
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
src/DependencyInjection/MongoDbBundleExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     private function defineConnections(array $connections)
71 71
     {
72
-        foreach ($connections as $name => $conf){
72
+        foreach ($connections as $name => $conf) {
73 73
             $connectionDefinition = new Definition(
74 74
                 Database::class,
75 75
                 [
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
             $connectionDefinition->setFactory([new Reference('mongo.connection_factory'), 'createConnection']);
81 81
             $this->containerBuilder->setDefinition('mongo.connection.'.$name, $connectionDefinition);
82 82
         }
83
-        $this->containerBuilder->setAlias('mongo.connection', 'mongo.connection.' . array_keys($connections)[0]);
83
+        $this->containerBuilder->setAlias('mongo.connection', 'mongo.connection.'.array_keys($connections)[0]);
84 84
     }
85 85
 
86 86
     /**
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
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Facile\MongoDbBundle\Services;
6 6
 
Please login to merge, or discard this patch.