Remove alias::getAliasOf return type as this is not compatible with PHP 7.2/7.3
parent
84f0f19112
commit
7b1fc4b2c8
|
@ -75,7 +75,7 @@ class AliasPackage extends BasePackage
|
||||||
/**
|
/**
|
||||||
* @return BasePackage
|
* @return BasePackage
|
||||||
*/
|
*/
|
||||||
public function getAliasOf(): BasePackage
|
public function getAliasOf()
|
||||||
{
|
{
|
||||||
return $this->aliasOf;
|
return $this->aliasOf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ class CompleteAliasPackage extends AliasPackage implements CompletePackageInterf
|
||||||
/**
|
/**
|
||||||
* @return CompletePackage
|
* @return CompletePackage
|
||||||
*/
|
*/
|
||||||
public function getAliasOf(): CompletePackage
|
public function getAliasOf()
|
||||||
{
|
{
|
||||||
return $this->aliasOf;
|
return $this->aliasOf;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@ class RootAliasPackage extends CompleteAliasPackage implements RootPackageInterf
|
||||||
/**
|
/**
|
||||||
* @return RootPackage
|
* @return RootPackage
|
||||||
*/
|
*/
|
||||||
public function getAliasOf(): RootPackage
|
public function getAliasOf()
|
||||||
{
|
{
|
||||||
return $this->aliasOf;
|
return $this->aliasOf;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue