Return the provider so core can store a reference to it

This commit is contained in:
Toby Zerner 2015-05-05 17:07:36 +09:30
parent 840cc84724
commit f873fd0600

View File

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