mirror of
https://github.com/flarum/core.git
synced 2025-08-16 05:14:20 +02:00
fixed container bindings use of container (#2807)
This commit is contained in:
@@ -24,7 +24,7 @@ class FormatterServiceProvider extends AbstractServiceProvider
|
||||
$this->container->singleton('flarum.formatter', function (Container $container) {
|
||||
return new Formatter(
|
||||
new Repository($container->make('cache.filestore')),
|
||||
$this->container[Paths::class]->storage.'/formatter'
|
||||
$container[Paths::class]->storage.'/formatter'
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user