1
0
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:
Toby Zerner
2015-07-05 21:46:57 +09:30
parent b792fd2efd
commit 01ec661c3f
11 changed files with 18 additions and 19 deletions

View File

@@ -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);