1
0
mirror of https://github.com/flarum/core.git synced 2025-07-22 01:01:28 +02:00

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

This commit is contained in:
Toby Zerner
2015-05-11 10:42:30 +09:30
parent 3787cc413e
commit 55a4d4663a

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\Sticky\StickyServiceProvider');
return $this->app->register('Flarum\Sticky\StickyServiceProvider');