Fix various compatibility issues with PHP 8

This commit is contained in:
Frédéric Guillot
2022-02-08 21:44:00 -08:00
committed by Frédéric Guillot
parent f5bb55bdb8
commit 4bf3b0d459
411 changed files with 99 additions and 26046 deletions

View File

@@ -113,7 +113,7 @@ class LetterAvatarProvider extends Base implements AvatarProviderInterface
*
* @access protected
* @param string $str
* @return int[]
* @return array
*/
protected function getHSL($str)
{

View File

@@ -46,7 +46,7 @@ class DatabaseUserProvider implements UserProviderInterface
* Get internal id
*
* @access public
* @return string
* @return integer
*/
public function getInternalId()
{

View File

@@ -117,11 +117,11 @@ class LdapUserProvider implements UserProviderInterface
* Get internal id
*
* @access public
* @return string
* @return integer
*/
public function getInternalId()
{
return '';
return 0;
}
/**

View File

@@ -46,11 +46,11 @@ abstract class OAuthUserProvider implements UserProviderInterface
* Get internal id
*
* @access public
* @return string
* @return integer
*/
public function getInternalId()
{
return '';
return 0;
}
/**

View File

@@ -66,11 +66,11 @@ class ReverseProxyUserProvider implements UserProviderInterface
* Get internal id
*
* @access public
* @return string
* @return integer
*/
public function getInternalId()
{
return '';
return 0;
}
/**