2022-03-18T09:39:46+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\Extension::getAlias()" might add "string" as a native return type declaration in the future. Do the same in child class "FOS\OAuthServerBundle\DependencyInjection\FOSOAuthServerExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
getAlias method need to add @return string add the doc to remove this message :
`
/**
* @return string
*/
public function getAlias()
{
return 'fos_oauth_server';
}
On PHP 8 we have this deprecation message :
2022-03-18T09:39:46+01:00 [info] User Deprecated: Method "Symfony\Component\DependencyInjection\Extension\Extension::getAlias()" might add "string" as a native return type declaration in the future. Do the same in child class "FOS\OAuthServerBundle\DependencyInjection\FOSOAuthServerExtension" now to avoid errors or add an explicit @return annotation to suppress this message.
getAlias method need to add @return string add the doc to remove this message :
`