Passed
Push — develop ( c906ee...8bba43 )
by nguereza
05:02
created
src/Service/Provider/DatabaseServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     public function register(): void
71 71
     {
72
-        $this->app->bind(Configuration::class, function (ContainerInterface $app) {
72
+        $this->app->bind(Configuration::class, function(ContainerInterface $app) {
73 73
             /** @template T @var Config<T> $config */
74 74
             $config = $app->get(Config::class);
75 75
             $driver = $config->get('database.default', 'default');
@@ -84,11 +84,11 @@  discard block
 block discarded – undo
84 84
             return new Configuration($dbConfig);
85 85
         });
86 86
 
87
-        $this->app->share(Pool::class, function (ContainerInterface $app) {
87
+        $this->app->share(Pool::class, function(ContainerInterface $app) {
88 88
             return new Pool($app->get(Config::class)->get('database', []));
89 89
         });
90 90
 
91
-        $this->app->share(Connection::class, function (ContainerInterface $app) {
91
+        $this->app->share(Connection::class, function(ContainerInterface $app) {
92 92
             return new Connection(
93 93
                 $app->get(Configuration::class),
94 94
                 $app->get(LoggerInterface::class)
Please login to merge, or discard this patch.