diff --git a/src/Composer/Package/RootAliasPackage.php b/src/Composer/Package/RootAliasPackage.php index 32def7e46..1105d22aa 100644 --- a/src/Composer/Package/RootAliasPackage.php +++ b/src/Composer/Package/RootAliasPackage.php @@ -67,7 +67,7 @@ class RootAliasPackage extends AliasPackage implements RootPackageInterface */ public function getConfig() { - return $this->aliasOf->config; + return $this->aliasOf->getConfig(); } /** @@ -75,7 +75,7 @@ class RootAliasPackage extends AliasPackage implements RootPackageInterface */ public function getScripts() { - return $this->aliasOf->scripts; + return $this->aliasOf->getScripts(); } /**