diff --git a/src/Extension/Extension.php b/src/Extension/Extension.php index 7caf0646eb..0f20b48de1 100644 --- a/src/Extension/Extension.php +++ b/src/Extension/Extension.php @@ -225,7 +225,7 @@ public function getIcon() * Get the list of flarum extensions that this extension depends on */ public function getFlarumExtensionDependencies() { - return $this->composerJsonAttribute('extra.flarum-extension.dependencies.extensions'); + return Arr::get($this->composerJson, 'extra.flarum-extension.dependencies.extensions', []); } public function enable(Container $container)