Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
20f46adbc4
commit
9596d88b48
@@ -4,17 +4,17 @@ namespace App\Support;
|
||||
|
||||
/**
|
||||
* Class Countries
|
||||
* @package App\Support
|
||||
*/
|
||||
class Countries
|
||||
{
|
||||
/**
|
||||
* Get a select box list of all the countries
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public static function getSelectList()
|
||||
{
|
||||
$countries = collect((new \League\ISO3166\ISO3166)->all())
|
||||
$countries = collect((new \League\ISO3166\ISO3166())->all())
|
||||
->mapWithKeys(function ($item, $key) {
|
||||
return [strtolower($item['alpha2']) => $item['name']];
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user