1
0
mirror of https://github.com/flarum/core.git synced 2025-07-29 04:30:56 +02:00

Fixes to comply with PSR-2

This commit is contained in:
Franz Liedke
2015-05-27 02:37:27 +02:00
parent 97e43c5431
commit 05cecf080e
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class ApiServiceProvider extends ServiceProvider
'Flarum\Api\ExceptionHandler'
);
$this->app->singleton('Flarum\Http\Router', function() { return new Router(); });
$this->app->singleton('Flarum\Http\Router');
include __DIR__.'/routes.php';
}