Passed
Push — master ( 48d02b...1e0cee )
by Austin
03:14
created

securitytxt()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
/**
3
 * src/helpers.php.
4
 *
5
 * @author      Austin Heap <[email protected]>
6
 * @version     v0.3.2
7
 */
8
declare(strict_types=1);
9
10
if (! function_exists('securitytxt')) {
11
    /**
12
     * @return \AustinHeap\Security\Txt\SecurityTxtHelper
13
     */
14
    function securitytxt()
15
    {
16
        return \AustinHeap\Security\Txt\SecurityTxtServiceProvider::getInstance();
17
    }
18
}
19