Completed
Push — master ( 9047ea...e2ceea )
by Elf
02:08
created

helpers.php ➔ app_url()   B

Complexity

Conditions 7
Paths 18

Size

Total Lines 18
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 7

Importance

Changes 0
Metric Value
cc 7
eloc 9
nc 18
nop 3
dl 0
loc 18
ccs 8
cts 8
cp 1
crap 7
rs 8.2222
c 0
b 0
f 0
1
<?php
2
3
if (! function_exists('app_id')) {
4
    /**
5
     * Get or check the current application identifier.
6
     *
7
     * @return string|bool
8
     */
9
    function app_id()
10
    {
11 1
        return call_user_func_array([app('apps'), 'id'], func_get_args());
12
    }
13
}
14