Test Setup Failed
Push — master ( 82bc16...cbe1a2 )
by Alec
03:13
created

container()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php declare(strict_types=1);
2
3
namespace AlecRabbit;
4
5
use Illuminate\Container\Container;
6
7
if (!function_exists(__NAMESPACE__ . '\container')) {
8
    /**
9
     * @return Container
10
     */
11
    function container()
12
    {
13
        return
14
            Container::getInstance();
15
    }
16
}
17