mirror of
https://github.com/flarum/core.git
synced 2025-10-10 22:44:25 +02:00
Fix coding standards to conform to PSR-2
This commit is contained in:
@@ -14,7 +14,9 @@ class ExtensionsServiceProvider extends ServiceProvider
|
||||
public function register()
|
||||
{
|
||||
// Extensions will not be registered if Flarum is not installed yet
|
||||
if (!Core::isInstalled()) return;
|
||||
if (!Core::isInstalled()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$extensions = json_decode(DB::table('config')->where('key', 'extensions_enabled')->pluck('value'), true);
|
||||
$providers = [];
|
||||
|
Reference in New Issue
Block a user