1
0
Fork 0

Remove alias::getAliasOf return type as this is not compatible with PHP 7.2/7.3

pull/10547/head
Jordi Boggiano 2022-02-18 20:53:32 +01:00
parent 84f0f19112
commit 7b1fc4b2c8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ class AliasPackage extends BasePackage
/**
* @return BasePackage
*/
public function getAliasOf(): BasePackage
public function getAliasOf()
{
return $this->aliasOf;
}

View File

@ -35,7 +35,7 @@ class CompleteAliasPackage extends AliasPackage implements CompletePackageInterf
/**
* @return CompletePackage
*/
public function getAliasOf(): CompletePackage
public function getAliasOf()
{
return $this->aliasOf;
}

View File

@ -35,7 +35,7 @@ class RootAliasPackage extends CompleteAliasPackage implements RootPackageInterf
/**
* @return RootPackage
*/
public function getAliasOf(): RootPackage
public function getAliasOf()
{
return $this->aliasOf;
}