Passed
Push — master ( c2faf8...afa411 )
by Al3x
11:51
created

Module   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 11
c 0
b 0
f 0
dl 0
loc 18
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getConfig() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace InvoiceNinjaModule;
5
6
use Laminas\ModuleManager\Feature\ConfigProviderInterface;
7
8
/**
9
 * Class Module
10
 * @codeCoverageIgnore
11
 */
12
class Module implements ConfigProviderInterface
13
{
14
    public const INVOICE_NINJA_CONFIG = 'invoiceNinjaConfig';
15
    public const TOKEN = 'token';
16
    public const TOKEN_TYPE = 'tokenType';
17
    public const API_TIMEOUT = 'apiTimeout';
18
    public const HOST_URL = 'hostUrl';
19
    public const URL = 'url';
20
    public const AUTHORIZATION = 'authorization';
21
    public const AUTH_USER = 'auth_user';
22
    public const AUTH_PASS = 'auth_pass';
23
24
    /**
25
     * {@inheritDoc}
26
     */
27
    public function getConfig()
28
    {
29
        return include __DIR__ . '/../config/module.config.php';
30
    }
31
}
32