Test Setup Failed
Push — master ( 4174a9...0ddee3 )
by Sérgio
03:32
created

init.php ➔ init()   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 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Prelude;
4
5
const init = __NAMESPACE__.'\init';
6
7
function init(array $xss): array
8
{
9
    return array_slice($xss, 0, -1);
10
}
11