Issues (11)

resources/config/theteller.php (1 issue)

Labels
Severity
1
<?php
2
3
/*
4
 * This file is part of Thetellara package.
5
 *
6
 * (c) Mumuni Mohammed <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
return [
13
14
    /**
15
     * Your environment. Either Production (prod) or Test (test)
16
     *
17
     */
18
    'tellerEnv' => getenv('THETELLER_ENV', 'test'),
0 ignored issues
show
'test' of type string is incompatible with the type boolean expected by parameter $local_only of getenv(). ( Ignorable by Annotation )

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

18
    'tellerEnv' => getenv('THETELLER_ENV', /** @scrutinizer ignore-type */ 'test'),
Loading history...
19
20
    /**
21
     * Merchant ID From Theteller Dashboard
22
     *
23
     */
24
    'merchantId' => getenv('THETELLER_MERCHANT_ID'),
25
26
    /**
27
     * Theteller API Username
28
     *
29
     */
30
    'apiUsername' => getenv('THETELLER_API_USERNAME'),
31
32
    /**
33
     * Theteller API Key
34
     *
35
     */
36
    'apiKey' => getenv('THETELLER_API_KEY'),
37
38
    /**
39
     * Theteller Redirect Url
40
     *
41
     */
42
    'redirectUrl' => getenv('THETELLER_REDIRECT_URL'),
43
];
44