Issues (64)

resources/config/irfa/rajaongkir.php (1 issue)

Labels
Severity
1
<?php
2
3
return [
4
    /*
5
    |--------------------------------------------------------------------------
6
    | End Point Api ( Server Configuration )
7
    |--------------------------------------------------------------------------
8
    |
9
    | Starter   : http://rajaongkir.com/api/starter
10
    | Basic     : http://rajaongkir.com/api/basic
11
    | Pro       : http://pro.rajaongkir.com/api
12
    |
13
    */
14
    'account_type' => env('RAJAONGKIR_ACCOUNT_TYPE', 'starter'),
0 ignored issues
show
The function env was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

14
    'account_type' => /** @scrutinizer ignore-call */ env('RAJAONGKIR_ACCOUNT_TYPE', 'starter'),
Loading history...
15
    /*
16
    |--------------------------------------------------------------------------
17
    | API key
18
    |--------------------------------------------------------------------------
19
    | You can get API key in www.rajaongkir.com
20
    |
21
    */
22
23
    'api_key' => env('RAJAONGKIR_API_KEY', 'your-api-key'),
24
    /*
25
    |--------------------------------------------------------------------------
26
    | API Version (for account type basic and pro)
27
    |--------------------------------------------------------------------------
28
    | You can get API key in www.rajaongkir.com
29
    |
30
    */
31
32
    'api_version' => env('RAJAONGKIR_API_VERSION', 'v2'),
33
    /*
34
    |--------------------------------------------------------------------------
35
    | For Caching
36
    |--------------------------------------------------------------------------
37
    | You are free to change the cache configuration.
38
    | province_table for name table of province
39
    | city_table for name table of city
40
    | cache_type for type of cache
41
    |
42
    | Cache supported database,and file. If you can't use cache, set value to null
43
    */
44
    
45
    'province_table' => env('RAJAONGKIR_PROV_TABLE', 'ro_province'),
46
47
    'city_table' => env('RAJAONGKIR_CITY_TABLE', 'ro_city'),
48
49
    'subdistrict_table' => env('RAJAONGKIR_SUBDISTRICT_TABLE', 'ro_subdistrict'),
50
51
    'cache_type' => env('RAJAONGKIR_CACHE', 'database'),
52
53
];
54