Assume a Flarum\Support\ServiceProvider context in bootstrap.php

This commit is contained in:
Toby Zerner 2015-05-11 10:42:20 +09:30
parent ce2e90ecf9
commit bbe863d401

View File

@ -6,4 +6,4 @@ require __DIR__.'/vendor/autoload.php';
// Register our service provider with the Flarum application. In here we can
// register bindings and execute code when the application boots.
return $app->register('Flarum\Categories\CategoriesServiceProvider');
return $this->app->register('Flarum\Categories\CategoriesServiceProvider');