mirror of
https://github.com/flarum/core.git
synced 2025-10-12 23:44:27 +02:00
PSR-2 fixes
This commit is contained in:
@@ -37,7 +37,7 @@ class DatabaseServiceProvider extends ServiceProvider
|
||||
$this->app->alias('Illuminate\Database\ConnectionResolverInterface', 'db');
|
||||
|
||||
if (Core::isInstalled()) {
|
||||
$this->app->booting(function() {
|
||||
$this->app->booting(function () {
|
||||
$resolver = $this->app->make('Illuminate\Database\ConnectionResolverInterface');
|
||||
Model::setConnectionResolver($resolver);
|
||||
|
||||
|
Reference in New Issue
Block a user