mirror of
https://github.com/flarum/framework.git
synced 2024-11-24 14:53:10 +08:00
Apply fixes from StyleCI
[ci skip] [skip ci]
This commit is contained in:
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user