php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
1 parent
10d377de7d
commit
582d1a01f4
852 files changed
+120617
-6307
No files matched your search
@@ -21,7 +21,7 @@ class Hybrid_Auth {
|
||||
* Configuration array
|
||||
* @var array
|
||||
*/
|
||||
public static $config = array();
|
||||
public static $config = array('providers'=>null);
|
||||
|
||||
/**
|
||||
* Auth cache
|
||||
@@ -295,7 +295,7 @@ class Hybrid_Auth {
|
||||
public static function getConnectedProviders() {
|
||||
$idps = array();
|
||||
|
||||
foreach (Hybrid_Auth::$config["providers"] as $idpid => $params) {
|
||||
foreach ((array) Hybrid_Auth::$config["providers"] as $idpid => $params) {
|
||||
if (Hybrid_Auth::isConnectedWith($idpid)) {
|
||||
$idps[] = $idpid;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user