mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
committed by
StyleCI Bot
parent
5ebc101fd5
commit
766e3390d7
@@ -31,7 +31,7 @@ class ExtensionServiceProvider extends AbstractServiceProvider
|
||||
$this->container['flarum']->booting(function () {
|
||||
/** @var Config */
|
||||
$config = $this->container->make(Config::class);
|
||||
|
||||
|
||||
if ($config->bootExtensions()) {
|
||||
$this->container->make('flarum.extensions')->extend($this->container);
|
||||
}
|
||||
|
@@ -41,7 +41,7 @@ class Config implements ArrayAccess
|
||||
{
|
||||
return $this->data['offline'] ?? false;
|
||||
}
|
||||
|
||||
|
||||
public function bootExtensions(): bool
|
||||
{
|
||||
return $this->data['boot_extensions'] ?? true;
|
||||
|
Reference in New Issue
Block a user