@@ -69,7 +69,7 @@ discard block |
||
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 |
||
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) |