mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
e_user_provider: Replace "${var}"-style string interpolation
Deprecated in PHP 8.2: https://www.php.net/manual/en/migration82.deprecated.php#migration82.deprecated.core.dollar-brace-interpolation Discussed in Gitter: https://matrix.to/#/!srhnCKlMgxFeuSPXPb:gitter.im/$4QOsTBHp8DKFsmHotpHAzuAAX1Ky3m0n2R-jIsVlxUg
This commit is contained in:
@@ -1419,7 +1419,7 @@ class e_user_provider
|
|||||||
public static function getSupplementalFieldsOf($providerName)
|
public static function getSupplementalFieldsOf($providerName)
|
||||||
{
|
{
|
||||||
$supplementalFields = [];
|
$supplementalFields = [];
|
||||||
$className = "Hybridauth\Provider\\${providerName}";
|
$className = "Hybridauth\Provider\\$providerName";
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
$reflector = new ReflectionClass($className);
|
$reflector = new ReflectionClass($className);
|
||||||
|
Reference in New Issue
Block a user