File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ use Illuminate\Support\ServiceProvider;
135
135
136
136
class DatabaseServiceProvider extends ServiceProvider
137
137
{
138
- public function boot (): void
138
+ public function register (): void
139
139
{
140
140
Connection::resolverFor('mysql', function (...$parameters) {
141
141
return new MySqlConnection(...$parameters);
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class ConnectionServiceProvider extends ServiceProvider
15
15
/**
16
16
* {@inheritdoc}
17
17
*/
18
- public function boot (): void
18
+ public function register (): void
19
19
{
20
20
Connection::resolverFor ('mysql ' , $ this ->resolverFor (MySqlConnection::class));
21
21
Connection::resolverFor ('pgsql ' , $ this ->resolverFor (PostgresConnection::class));
You can’t perform that action at this time.
0 commit comments