updown()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 1
cts 1
cp 1
crap 1
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * Copyright (c) 2019 - present
4
 * laravel-updown - helpers.php
5
 * author: Roberto Belotti - [email protected]
6
 * web : robertobelotti.com, github.com/biscolab
7
 * Initial version created on: 19/2/2019
8
 * MIT license: https://github.com/biscolab/laravel-updown/blob/master/LICENSE
9
 */
10
11
if (!function_exists('updown')) {
12
    /**
13
     * @return Biscolab\LaravelUpdown\UpDownBuilder
14
     */
15
    function updown()
16
    {
17 7
        return app('updown');
18
    }
19
}