Applied fixes from StyleCI

This commit is contained in:
Manish Verma
2016-11-03 11:23:33 +00:00
committed by StyleCI Bot
parent bb5b3131e2
commit fbea06a902
2 changed files with 24 additions and 23 deletions

View File

@@ -36,8 +36,8 @@ class ProfileRequest extends Request
} }
/** /**
*Check the mobile number is unique or not.
* *
*Check the mobile number is unique or not
*@return string *@return string
*/ */
public function checkMobile() public function checkMobile()

View File

@@ -1,4 +1,5 @@
<?php <?php
return [ return [
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
@@ -42,21 +43,21 @@ return [
*/ */
'services' => [ 'services' => [
'maxmind_database' => [ 'maxmind_database' => [
'class' => \Torann\GeoIP\Services\MaxMindDatabase::class, 'class' => \Torann\GeoIP\Services\MaxMindDatabase::class,
'database_path' => storage_path('app/geoip.mmdb'), 'database_path' => storage_path('app/geoip.mmdb'),
'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz', 'update_url' => 'https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz',
'locales' => ['en'], 'locales' => ['en'],
], ],
'maxmind_api' => [ 'maxmind_api' => [
'class' => \Torann\GeoIP\Services\MaxMindWebService::class, 'class' => \Torann\GeoIP\Services\MaxMindWebService::class,
'user_id' => env('MAXMIND_USER_ID'), 'user_id' => env('MAXMIND_USER_ID'),
'license_key' => env('MAXMIND_LICENSE_KEY'), 'license_key' => env('MAXMIND_LICENSE_KEY'),
'locales' => ['en'], 'locales' => ['en'],
], ],
'ipapi' => [ 'ipapi' => [
'class' => \Torann\GeoIP\Services\IPApi::class, 'class' => \Torann\GeoIP\Services\IPApi::class,
'secure' => true, 'secure' => true,
'key' => env('IPAPI_KEY'), 'key' => env('IPAPI_KEY'),
'continent_path' => storage_path('app/continents.json'), 'continent_path' => storage_path('app/continents.json'),
], ],
], ],
@@ -104,18 +105,18 @@ return [
| |
*/ */
'default_location' => [ 'default_location' => [
'ip' => '127.0.0.0', 'ip' => '127.0.0.0',
'iso_code' => 'IN', 'iso_code' => 'IN',
'country' => 'INDIA', 'country' => 'INDIA',
'city' => 'Bangalore', 'city' => 'Bangalore',
'state' => 'KA', 'state' => 'KA',
'state_name' => 'Connecticut', 'state_name' => 'Connecticut',
'postal_code' => '06510', 'postal_code' => '06510',
'lat' => 41.31, 'lat' => 41.31,
'lon' => -72.92, 'lon' => -72.92,
'timezone' => 'Asia/Kolkata', 'timezone' => 'Asia/Kolkata',
'continent' => 'NA', 'continent' => 'NA',
'default' => true, 'default' => true,
'currency' => 'USD', 'currency' => 'USD',
], ],
]; ];