GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 45707a...907d5f )
by Sébastien
01:02
created

functions.php ➔ NovaCollection()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
ccs 1
cts 1
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Novactive Collection.
4
 *
5
 * @author    Luke Visinoni <[email protected], [email protected]>
6
 * @author    Sébastien Morel <[email protected], [email protected]>
7
 * @copyright 2017 Novactive
8
 * @license   MIT
9
 */
10
use Novactive\Collection\Factory;
11
12
if (!function_exists('Collection')) {
13
    function Collection($items)
14
    {
15 6
        return Factory::create($items);
16
    }
17
}
18
19
if (!function_exists('NovaCollection')) {
20
    function NovaCollection($items)
21
    {
22 6
        return Factory::create($items);
23
    }
24
}
25