Passed
Push — master ( 3a35da...a738f6 )
by Nikolaos
02:35
created

Php   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 11
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the Phalcon Framework.
5
 *
6
 * For the full copyright and license information, please view the LICENSE.md
7
 * file that was distributed with this source code.
8
 */
9
10
declare(strict_types=1);
11
12
namespace Phalcon\Config\Adapter;
13
14
use Phalcon\Config;
15
16
class Php extends Config
17
{
18
    /**
19
     * Php constructor.
20
     *
21
     * @param string $filePath
22
     */
23 28
    public function __construct(string $filePath)
24
    {
25 28
        parent::__construct(
26 28
            require $filePath
27
        );
28 28
    }
29
}
30