|
@@ -15,7 +15,7 @@ |
|
|
block discarded – undo |
|
15
|
15
|
{ |
|
16
|
16
|
$response = []; |
|
17
|
17
|
|
|
18
|
|
- Capsule::table( config('geography.nameTable.country') )->get()->each(function ($item) use ( &$response ) |
|
|
18
|
+ Capsule::table(config('geography.nameTable.country'))->get()->each(function($item) use (&$response) |
|
19
|
19
|
{ |
|
20
|
20
|
$body = file_get_contents('https://api.vk.com/method/database.getRegions?v=5.5&count=1000&country_id=' . $item->id . |
|
21
|
21
|
'&access_token=' . config('geography.access_token')); |
Please login to merge, or discard this patch.