mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -360,7 +360,7 @@ class CountriesInfo
|
||||
if (null === self::$cacheCountriesCodeByContinent) {
|
||||
$data = self::getArrayCountriesData();
|
||||
|
||||
array_walk($data, function ($item, $key) {
|
||||
array_walk($data, static function ($item, $key) {
|
||||
self::$cacheCountriesCodeByContinent[$item[0]][] = $item[1];
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user